0
Consider the following programme code and tell how many times the loop will execute.
var x=6,y=36; while(x<=y) { y=y/x; x=x+6; }
2 Answers
+ 2
just 1 time, y = 6 and x = 12 after execute that 1 time
0
Only once. After the first iteration y will be 6 and x will be 12, so the while condition would be false.