Computer Science, asked by rupab841, 5 months ago

Give the output and determine how many times the loop will execute: x=1; y=1;
while(x<=y)
{
y = y/x;
System.out.println(y);
}
Answer fast plss...​

Answers

Answered by kamalrajatjoshi94
2

Answer:

Loop will execute only 1 time.

Output y=1(1/1)

Answered by jai696
3

Output will be 1 & it will create an infinite loop printing 1.

Explanation:

y / x or 1 / 1 is 1 and 1 is less than or equal to 1

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions