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
1
Answer:
2 times.
Output;
Hi
Hi
Similar questions