How do I make this work?
int i = 0; do { System.out.println("blah blah blah"); Scanner input = new Scanner(system.in); i = input.nextInt(); if (i != 0) i = 1 } while (i);
I want the program to say "okay, this 'i' is a 1, so that means TRUE, so we'll keep going" or "nope, this 'i' is a 0, that's FALSE, so let's exit the loop".
It seems really hard?