Computer Science, asked by 310115, 1 month ago

How many times will Hi print.
int x = 3;
int y = 5;
while ( x < y ){
System.out.println("Hi");
x = x + 1;
}

Answers

Answered by mahesijjh
1

Answer:

2 times.

Output;

Hi

Hi

Similar questions