December 2017
Beginner
366 pages
5h 36m
English
© Radek Vystavěl 2017
Radek Vystavěl, C# Programming for Absolute Beginners, https://doi.org/10.1007/978-1-4842-3318-4_24
Radek Vystavěl1
(1)Ondřjov, Czech Republic
In this chapter, you will study the important case of using loops to process large sets of data. You will often use a loop to go through a large amount of data to accumulate (aggregate) some intermediate result, which becomes the final result after the loop terminates.
A typical task in this category is summing a lot of values.
Say the user is entering numbers, with the last one being 0. In other words, users indicate they are finished by entering 0. The program then displays the sum of all the entered numbers (see ...
Read now
Unlock full access