May 2014
Beginner
1312 pages
38h 36m
English
“Fortune favors the prepared mind.”
—Louis Pasteur
This chapter introduces the basics of storing and using data in a program. To do so, we first concentrate on reading in data from the keyboard. After establishing the fundamental notions of objects, types, values, and variables, we introduce several operators and give many examples of use of variables of types char, int, double, and string.
3.5 Assignment and initialization
3.5.1 An example: detect repeated words
3.6 Composite assignment operators