Question: The code must be ONLY in C-language. Need the code in an hour. This won't take too long.Thanks! 11.5 Lab Week 6: Drawing a half

The code must be ONLY in C-language. Need the code in anThe code must be ONLY in C-language. Need the code in an hour. This won't take too long.Thanks!

11.5 Lab Week 6: Drawing a half arrow 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 arrowBaseHeight.(1 pt) (2) Modify the given program to use a loop to output an arrow base of width arrowBaseWidth. Use a nested loop in which the inner loop draws the *s, and the outer loop iterates a number of times equal to the height of the arrow base. (1 pt) (3) Modify the given program to use a loop to output an arrow head of width arrowHeadWidth. Use a nested loop in which the inner loop draws the *s, and the outer loop iterates a number of times equal to the height of the arrow head. (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) while (arrowHeadwidth arrowBasewidth) { ") ; printf ("Enter arrow head width: scanf("%d", &arrowHeadWidth); Example output for arrowBaseHeight = 5, arrowBasewidth = 2, and arrowHeadwidth = 4 Enter arrow base height: 5 Enter arrow base width: 2 Enter arrow head width: 4

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!