For+Loop+Practice+Answers

For Loop Practice Problem Answers 1) sum = 45 loop = 10 times
 * PART1**

2) sum = 42 loop = 7 times

3) sum = 20 loop = 5 times

4) sum = -155 loop = 10 times

5) sum = 0 loop = 5 times

6) sum = 62 loop = 10 times

7) sum = 10 loop = 5 times

8) sum = 45 loop = 5 times

1.) 10 9 8 7 6 2.) 0 1 2 3 4 3.) 5 4 3 2 1 0 -1 -2 -3 -4 4.) j/10.0 5.) 0 1 2 3 4 5 6 7 8 9 6.) 0 2 4 6 8 10 12 14 16 18 20 7.) num+=2
 * PART2**