
Lesson 1-4: Editing, Running, and Printing a Program File
14 | Chapter 1
Name __________________________________________ Date _______________________
Section _________________________________________
Exercise 1: Bring file firstone.cpp to the screen. Replace the name “Nell Dale” with your own
name. Compile and run the program. What is printed on the screen?
Exercise 2: Did you notice that there is no period after the name and that the line of asterisks is
not even? Go back and edit this program so that a period follows the name and the two lines
contain the same number of asterisks. Compile and run your program. What is printed on the
screen?
Exercise ...