Repetition Exercise 12.1

What print message do you get when you run this program?

How can you change the code below so it prints the sum each time it is updated in the loop?

What does the program print out if you change n to a smaller number?

Change n back to 10. What does the program print out if you change the value of i? What happens if you change it to a bigger number? What happens if you change it to a smaller number?

What printed message do you get when you run this code?