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

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 2B.cpp. Here you replace username> with your U of M email address; for example, if your email address is smithx1234@umn.edu, your file should be named smithx 1234 2B.cpp. Then submit your program using the HW 2 Problem B submission link in Moodle

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!