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
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