Question #125334

How many times will this loop print 'Hello World'?

n = 10;

while n > 0

disp('Hello World')

n = n - 1;

end

Expert's answer

10 times


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS