Computer Science, asked by kartikey9820, 11 months ago

find the output.x=5;y=50;while(x<=y) { y=y/x; System.out.println(y);​

Answers

Answered by adipanda
3

for a function this is the answer

Attachments:

kartikey9820: iam asking for output
adipanda: then instead of return y write cout y
Answered by somalia31
1

Answer:

The loop will execute 2 times

Explanation:

y=50

y=10

y=2

So, the loop will execute 2 times

Hope it helps

Similar questions