int m=10, n=7;
while(m% n>=0)
{
.....
m=m+1;
n=n+1;
.....
} how many times loop executed
Answers
Answered by
9
hey friend,
here's your answer ,
as the condition (m%n>=0)..,is true in all the situations . therefore, the loop will execute infinite number of times......
hope it helps you.....!!
here's your answer ,
as the condition (m%n>=0)..,is true in all the situations . therefore, the loop will execute infinite number of times......
hope it helps you.....!!
Similar questions