This program outputs a downwards facing arrow composed of a rectangle and a right triangle. The arrow dimensions are defined by user specified arrow base height, arrow base width, and arrow head width.
(1) Modify the given program to use a loop to output an arrow base of height arrow_base_height. (1 pt)
(2) Modify the given program to use a loop to output an arrow base of width arrow_base_width. (1 pt)
(3) Modify the given program to use a loop to output an arrow head of width arrow_head_width. (2 pts)
(4) Modify the given program to only accept an arrow head width that is larger than the arrow base width. Use a loop to continue prompting the user for an arrow head width until the value is larger than the arrow base width. (1 pt)
arrow_head_width <= arrow_base_width: ()arrow_head_width = (input())
Example output for arrow_base_height = 5, arrow_base_width = 2, and arrow_head_width = 4:
Enter arrow base height: 5Enter arrow base width: 2Enter arrow head width: 4**************
“Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!”
What Students Are Saying About Us.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐
"Honestly, I was afraid to send my paper to you, but splendidwritings.com proved they are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"
.......... Customer ID: 14***| Rating: ⭐⭐⭐⭐⭐
"The company has some nice prices and good content. I ordered a term paper here and got a very good one. I'll keep ordering from this website."