Learning objectives for chapter 5
Learn how to get console input into a program, for all 4 data types.
Learn how to prompt the user to enter input.
Learn the proper use of the cin.ignore statement.
Learn the difference between cin >> and getline.
Learn how to interrupt a running console program and cause it to terminate.
  Learning objective(s) addressed
Exercises Right-click (or control-click on a Mac) the title to save its PDF to your system.  
5.1 A Simple Mortgage Calculator, v.2.0 PDF XX   
5.2 About Lighthouses, v.2.0 PDF XX   
5.3 Making Change, v.2.0 PDF XX   
5.4 Temperature Conversion, v.1.0 PDF XX   
5.5 My Savings Plan, v.2.0 PDF XX   
5.6 Programs With Multiple Data Entries PDF XXXXX

Samples Right-click (or control-click on a Mac) the title to save its CPP file to your system.  
5.1 Using Console Input Code Blocks For Each Of The Four Data Types CPP X    

5.1 Click HERE for a YouTube-like video that shows how to develop code using console keyboard input. It's running time is 11 minutes, and it uses C++ on a Windows system, with JNotePad and Visual Studio in command line mode. It introduces the templates in JNotePad for creating new CPP files and for inserting code blocks for console data entry. XX   

Code from the chapter in order of their appearance in the text
yourAge.cpp itsAboutYou.cpp

Chapter 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15