Problem Statement - for loop output and execution count
Analyze the given program segment and answer the following questions :
(i) Write the output of the program segment
(ii) How many times does the body of the loop gets executed?
for(int m=5; m<=20; m+=5)
if(m%3 == 0)
if(m%5 == 0)
sunmitra| Created: 31-Mar-2018 | Updated: 16-Apr-2019|ICSE2016