Computer Science, asked by anindita4, 1 month ago

Predict the output of the following : x = 5; y = 50;
 while(x<=y)
{
y = y / x;
System.out.print(y +",");
} ​

Answers

Answered by Anonymous
0

I have attached the working below.

The output is the following:

10,2,

Attachments:
Similar questions