
Lesson 7-6: Case Study Maintenance
Additional Control Structures | 169
Name __________________________________________ Date _______________________
Section _________________________________________
Exercise 1: Compile and run program RichUncle (richUncle.cpp), using data of your choice.
Exercise 2: Your uncle never used a simple word when an exotic word would do. Enhance the
program so that the number of unusual letters is counted. For a start, count the percentage of X’s,
Y’s, Z’s, and Q’s. Combine uppercase and lowercase instances. Compile and run your program
using file history.in. What was the percentage of unusual letters?
Exercise 3: Enhance the ...