Computer Science, asked by sinhasantosh41, 1 year ago

what will be the output. and how?

Attachments:

Answers

Answered by shruthi2817gmailcom
0

like that too much to do it again and again and again and again and again and again and again and again in my

Answered by VedaantArya
1

_OUTPUT BEGIN_

x:0, y:0

x:0, y:1

x:0, y:3

x:0, y:4

x:1, y:0

x:1, y:1

x:1, y:3

x:1, y:4

x:2, y:0

x:2, y:1

x:2, y:3

x:2, y:4

x:3, y:0

x:3, y:1

x:3, y:3

x:3, y:4

x:4, y:0

x:4, y:1

x:4, y:3

x:4, y:4

_OUTPUT END_

Whenever y is equal to 2, the printing part is skipped, since the program hits the continue statement, and hence the code below is skipped, and the next cycle of the internal for loop is begun.

Similar questions