The George Washington University
School of Engineering and Applied Science
Department of Computer Science
CSci 51 -- Introduction to Software Development -- Spring 2000
Lab #5
For labs meeting on Feb. 17-18, 2000
Develop a little program that prompts the user for an integer in the range
1 .. 12, then displays the corresponding month name with the first letter
capitalized and the other letters in lowercase.
This is a situation in which an enumeration type is not appropriate
for the month names, because the enumeration Put has a parameter that allows
you to choose uppercase or lowercase output, but not "mixed case". Instead,
you'll have to use a multialternative IF/ELSIF structure to display the
proper outout in string form. Example 5.6 will help you here.