Question: Please do in C++ code! Write a C++ program to print the letters J,E, and C in ASCH art. Make sure your program conforms to

Please do in C++ code!
Write a C++ program to print the letters J,E, and C in ASCH art. Make sure your program conforms to the following requirements:
1. Accept the size of the letter (in the number of lines) from the user. This number should be an odd number greater than or equal to 7. If the value entered is invalid, tell the user so, and ask for another one. Repeat until you get a valid size.
2.
Accept the letter to be printed from the user. If the letter is J, E, or C, go to the next step. If not, tell the user that the letter is invalid and ask for another one. Repeat until you get a valid letter.
3. Print th letter in ASCH art form. The sample run gives examples for each letter.
4. Repeat the entire process if the user indicates they wish to continue.
5. Make sure you add comments to explain the logic.
Sample Run Here:
 Please do in C++ code! Write a C++ program to print

3.1 Sample Run Welcome to the letter printer Enter the size : 3 Iavalid size. Enter the size agaia: Invalid size. Enter the size again:17 Enter the letter: D Invalid letter: Enter the letter again: # Invalid letter: Enter the letter again: C 9909 Would you like to continue? CY or N): Y Enter the size:8 Invalid aize. Enter the size again: 1 Eater the letterE Would you like to continue? CY or N): Y Enter the size:9 Ester the letter: Would you like to continue? CY or :N

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!