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_22
Radek Vystavěl1
(1)Ondřjov, Czech Republic
Several programming tasks reduce to generating regular number series. This is what you are going to study in this chapter. You will also get a better understanding of loops this way.
You are already able to generate a simple number series, say from one to ten. You will tackle generating a bit more complex series now.
In this task, you will display “every other” number until 20 (see Figure 22-1).

Here’s ...
Read now
Unlock full access