I guess I'm just used to C++ where you could say 'while(integer)'
I feel like that's cleaner than always saying 'while (integer == 1)'.....
Type: Posts; User: ineedahero
I guess I'm just used to C++ where you could say 'while(integer)'
I feel like that's cleaner than always saying 'while (integer == 1)'.....
How do I make this work?
int i = 0;
do
{
System.out.println("blah blah blah");
Scanner input = new Scanner(system.in);