Question: write a C++ program that will make a picture that says Hi. Before running, ask what size the user wants. If the user inputs a
write a C++ program that will make a picture that says Hi". Before running, ask what size the user wants. If the user inputs a number "N", then both the "H" and "I" should take up a N by N square in the message. The exclamation point will be 1 by N (vertical). The H should have X's in the first and last column of the N by N square, along with X's across the middle row. The "I" should be similar to the "H", except rotated 90 degrees. The Should be X's up and down, except one blank space above the last row. There should be a single space between each letter/character. You can assume that we will only test this with odd sizes. Example 1 (user input is underlined): Size? Xxx X xx XxxX Example 2 (user input is underlined): Size? x XX Example 3 (user input is underlined): Size? When you are done, name the source code file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
