Question: Write a modified version of the ascii_figure function from the previous problem named ascii_figure2 to use a constant named HEIGHT for the figure's height.
Write a modified version of the ascii_figure function from the previous problem named ascii_figure2 to use a constant named HEIGHT for the figure's height. (You may want to make loop tables first.) The previous output used a constant height of 5. The following are the outputs for constant heights of 3 and 6: Height 3 //******** Height 6 ***** **** (Do not define the constant in your own code; we will define it in our testing code, and you should use it in your function.)
Step by Step Solution
3.45 Rating (164 Votes )
There are 3 Steps involved in it
The function is writt... View full answer
Get step-by-step solutions from verified subject matter experts
