Follow the following program, to find and solve a syntax error. You need to identify the error and rewrite the correct code???
Scanner input =newScanner (System.in);
intnumber = 0;
do{
System.out.println("Enter a positive number from 1-100:");
number = input.nextInt();
}while(number != 0)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here