Thank you Robert. The question says that the for condition is not true; as the second element states 20 is less than 10. So I think the output be Counter is 20, is that correct?
ya you are correct ers3 .. for loop wil not execute even single time so immidiate statement to the loop will execute .. and value of counter will be 20
5 Responses to Quiz 17 – For Loop
ers3
April 28th, 2015 at 12:42 pm
Robert Smith
April 28th, 2015 at 1:02 pm
ers3
April 29th, 2015 at 11:01 am
yancruz01
July 18th, 2015 at 7:30 pm
rafay
April 13th, 2017 at 6:18 am