Predict the output of the following : x = 5; y = 50;
while(x<=y)
{
y = y / x;
System.out.print(y +",");
}
Answers
Answered by
0
I have attached the working below.
The output is the following:
10,2,
Attachments:
Similar questions