Exercise Set 12

Exercise 1 of 6

Write a line of code to increment the variable x by 1.

Your code

Exercise 2 of 6

Write a line of code to increment the variable x by 2.

Your code

Exercise 3 of 6

Write a line of code to increment the variable x by -1.

Your code

Exercise 4 of 6

Write a line of code to increment the variable x by a factor of 10.

Your code

Exercise 5 of 6

Write a line of code to increment the variable x by a factor of 1/3.

Your code

Exercise 6 of 6

Write code to increment the variable x by 1 a total of 10 times.

Your code