Question: This program will be written in a file called sign.c . Prompt the user for the height of the sign. Acceptable values are 3 to
This program will be written in a file called sign.c Prompt the user for the height of the sign. Acceptable values are to inclusive. Then draw the sign attached to a pole of that height. The interior of the sign should contain your full name. The sign itself is always rows high and is wide enough to form a border around your name. In the example below, the pole is rows high. The sign itself is rows, leaving for the pole alone.
If the user enters a value outside the valid range, the program should simply display an appropriate error message and exit.
Example:
Enter the height of the sign:
Your Full Name
What to Turn In
Download the sign.c file and upload it here as the submission.
Optional Extension
This is an optional feature to add to your program. You can receive full credit even if you don't do this.
If the user enters the height as a negative number, display the sign upsidedown, facing the other way to the left
The input should be validated, as you did for the main part of the program.
Example:
Enter the height of the sign:
emaN lluF ruoY
Sample Run
Here is an interactive sample of what your program should do Click the Rerun Program button to execute the program again.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
