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.
© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021R. VystavělC# Programming for Absolute Beginnershttps://doi.org/10.1007/978-1-4842-7147-6_13
13. Accumulating Values
Ondřejov, Czech Republic
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 ...