Project+7-6

Write a program that prompts the user for a single character that must be either an uppercase or lowercase letter. The program should use a do while loop to repeat the prompt if the character entered is not a letter. Once the user has entered a letter, the program should change the case of the letter. If the letter was entered as uppercase, the program should change the character to lowercase and vice versa. The changed letter should be output, along with the original character entered by the user. Hint: The syntax for converting a character's case is shown in the following example.

c=tolower(c);

save the source code as: lastname.firstname.charchng.cpp