Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

NOOB Question

Name: Anonymous 2006-09-25 21:46

K very simple question which i hope can be answered just as simply.
New to java.
Trying to read an ineger and assign it to a variable.
using c consle.
For example:
------------------
int age;   //???
c.print("Age: ");
           //read age
c.println("Your "+age+"years old");
------------------------------------
Easy enough?
Thanks

Name: Anonymous 2006-09-26 4:42

>>12
Why are you escaping the '? This isn't perl or python.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List