Ansary100
asked on
How to use Scanner class
Hi
I am trying to Write a set of instructions to prompt the user for an int value and input it using the Scanner class into the variable x and prompt the user for a float value and input it using the Scanner class into the variable y.
IN JAVA Programming
I am trying to Write a set of instructions to prompt the user for an int value and input it using the Scanner class into the variable x and prompt the user for a float value and input it using the Scanner class into the variable y.
IN JAVA Programming
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
..Thanks; I'm not quite sure why I only got a 'B' grade however?
I'm hoping that you can justify it, otherwise I'll request that the Admin/Moderator ups it to an 'A'.
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html