Hi,
I need ur help regarding to do this program in java....i need to do program where user can input any number n this program will count until reach 100...if reach then the program will print out :---bla bla bla.....if not user can keep input the integer..how to to?...i'm dizzy right now...
Here the progress that i done :-
import java.io.*; //import the java.io package
class calc
{
public static void main ( String [] args ) throws IOException //throw any exceptions
{
BufferedReader stdin = new BufferedReader(new InputStreamReader( System.in ));
System.out.print( " Please enter number (integer) = " );
String input = stdin.readLine(); //get integer a
int a = Integer.parseInt( input );
// int count = 1;
// while (count < 100) {
// System.out.println("Count is: " + count);
// count++;
}
} // end calc