Up to now, you have worked with variables where you stored a value that you later used. After the initial assignment, the value of the variable did not change. Now you are ready to go to the next step, which is to study a case when a variable’s value changes during the program run, in other words, when a new value is determined from the old one.
Ten More, Revisited
First you will return to the task of adding ten to a number, which you studied in Chapter 8. The program’s goal is to present a value that is greater by ten than the number entered by the user (see Figure ...