User Profile

Collapse

Profile Sidebar

Collapse
bvav22
bvav22
Last Activity: Feb 20 '09, 02:56 AM
Joined: Feb 5 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • bvav22
    replied to help with Scanner
    in Java
    i really cannot thank you enough, that was such a big help.... :)
    See more | Go to post

    Leave a comment:


  • bvav22
    started a topic help with Scanner
    in Java

    help with Scanner

    Hey guys, im trying to finish an assignment for a java class, and i have finished the program except for one part. The program requires that i take 3 values inputted from the user, the first 2 must be digits between 0 and 9, and the third an operator.
    the operator decides if the two numbers are added subtracted...et c. anyways the things i cannot get, is i need to check if they enter valid digits, and not letters, however if i do put a letter...
    See more | Go to post
    Last edited by Nepomuk; Feb 20 '09, 05:26 AM. Reason: Code belongs in the [CODE] tags, not [QUOTE] tags. ^^

  • bvav22
    replied to Please help with Math.pow
    in Java
    ROFL never mind.....




    i was raising the WHOLE formula with Math.pow and not the part i needed to.... please disregard my question....
    See more | Go to post

    Leave a comment:


  • bvav22
    started a topic Please help with Math.pow
    in Java

    Please help with Math.pow

    I am trying to write a program that will calculate monthly payments based on information entered by the user. however, when i used math.pow it returns infinity. i know my formula is right i have tested it with a calculator 100 times now, i just dont get why its returning infinity.


    this is my code...
    [code=java]
    import java.util.Scann er;

    public class problem2 {
    public static void main(String[]args)...
    See more | Go to post
    Last edited by Nepomuk; Feb 5 '09, 11:59 AM. Reason: Please use [CODE] tags
No activity results to display
Show More
Working...