Convert the while loop in the following code to a do-while loop:
Scanner keyboard = new Scanner(System.in);
int x = 1;
while (x > 0)
{
System.out.print("Enter a number: ");
x = keyboard.nextInt();
}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.