D.3 Program development repetition statements Answers

1. In each loop state what is printed. a) 012345b)1 5 9 13 17c) 5 4 3 2 1 0d)1 3 5 7 9e)6f)12g) 16h)Nothing printed as i is 0 at the beginning. i)##### ##### ##### #####j)1 2 3 4 5 6 7 8 9 10 2 4 6 8 10 12 14 16 18 20 3 6 9 12 15 18 21 24 27 30 4 8 12 16 20 24 28 32 36 40 5 10 15 20 25 30 35 40 45 50

To access the contents of this site, you must subscribe.