hello all.. i'm new to the community and as well to java. I hav good programming experience wit C and C++. the object oriented concepts wern a prob for me to understand. But i'm stuck wit the basic readin of a number from the keyboard!!!
i used the System.in.read(); statement. It read the number and returned the ascii code of the number. so for every System.in.read() shud a -48 be appended in the code???
that would make the task more complicated. so i wanted to know wot other ways are used in java to read numbers from the keyboard?