
Lesson 10-7: Case Study Maintenance
User-Defined Data Types | 247
Name __________________________________________ Date _______________________
Section _________________________________________
This lesson asks you to enhance program Style.
Exercise 1: Compile and run program Style (style.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 number of X’s, Y’s,
Z’s, and Q’s. Combine uppercase and lowercase instances. Compile and run your program, using
file history.in.
The number of unusual letters is _____________. ...