Question: C-Program only! Please include comments so I can follow what you did. Thank you!! 4. (12 points) Write a complete C program that will first

C-Program only! Please include comments so I can follow what you did. Thank you!!
C-Program only! Please include comments so I can follow what you did.

4. (12 points) Write a complete C program that will first read in an arbitrary number of integers (which it should not do anything with) until it encounters the integer -99. Assume it is guaranteed to encounter 2 the integer -99. Following this, it will definitely encounter (and hence, it will read in) two integers, a width W, and a height H (you do NOT need to prompt for these). The program is expected to then draw a parallelogram, but draw it upside down. So, given width W and height H, the program should print W stars on each of H lines, in such as a manner that the first line should have H1 blanks before the stars, and on following lines, the number of blanks should decrease by one. Assume all input is correct. Remember: it may help you to assume that you do NOT need to prompt for anything, and you should make the program ignore the integers (if any) before the integer 99. Sample input

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!