Thread: help!!!urgent
View Single Post
Old Feb 17th, 2005, 12:47 AM   #2
Cup O' Java
Newbie
 
Cup O' Java's Avatar
 
Join Date: Dec 2004
Posts: 18
Rep Power: 0 Cup O' Java is on a distinguished road
cant you use readLine(); ??

for example you do this
static BufferedReader keyboard = BufferedReader(new InputStreamReader(System.in));
String name;
name = keyboard.readLine();

is that what your looking for? remember keyboard could be anything you specify it to be and so can name. dont have to use those names

or do this:
string letterGrade = "F";
System.out.println(letterGrade.charAt(grade));

hope this helps

Last edited by Cup O' Java; Feb 17th, 2005 at 12:56 AM.
Cup O' Java is offline   Reply With Quote