
Lesson 1-3: Compiling and Running a Program
Overview of Programming and Problem Solving | 13
Name __________________________________________ Date _______________________
Section _________________________________________
Exercise 1: Compile and run program Rain in file rain.cpp. How many inches of rain were
there?
Exercise 2: Compile and run program Rain in file rain2.cpp. How many inches of rain were
there?
Exercise 3: Are you surprised that the results were the same in Exercises 1 and 2? What does that
tell you about the differences between how the compiler views the text of a program and how the
user views the text of a program?
Exercise 4: Compile ...