Type: Posts; User: felixb
I have some java projects in eclipse.
I want to organize the projects into some folders in the Package Explorer.
How can I do it? (I tried to add new folder, but it ask me to choose one...
sorry, my mistake. it's print exactly 4.
i run the following code:
why the output is 4.012 and not 4?
ok, i moved it to the catch section.
now it sees to be good.
it run, but incorrect.
if i give 5 incorrect input - it run good, give 5 tries and exiting program after the 5 th attemp.
if i give 4 incorrect and the last is correct - it give 4 tries, i the 5 th...
I try to write piece of code that get input from the user and in case of wrong input give the user anoter chance (total of 3 tries) to type input again.
what is the problem with it?
I have this part of source code
System.out.println("Recored number: " + i+1 + " is:");
I'm trying to write little program that get input from the user (using BufferedReader and readLine() function) the program should run till the user type 'quit'.
so i write something like...