1.

State the number of times the following loop will run and the output of itint m=75:doif(m

Answer»

Explanation:

the CONDITION is SATISFIED so m enters the loop

OUTPUT

65

55

45

35

25

15

5

5

thus the loop is EXECUTED 8 times

extra 5 is printed because when 5 enters the loop the loop breaks DUE to BREAK command but gets printed because of println statement



Discussion

No Comment Found