Question: Write a C program that prompts the user to enter a positive integer ( num ) and then calls a function, to which you pass

Write a C program that prompts the user to enter a positive integer (num) and then calls a function, to which
you pass the value num, and which displays the shape of a parallelogram of that size using any visible character
that you would like (for example, ?****). You can assume that the user will enter an integer, but you must check for
the cases that they enter a negative number and take some course of action to make it positive. The course of
action is up to you.
The following example output results when num =-7, num =5, and num =6, for the three separate runs. Note
that figures are displayed across the page only to save space.
**************
 Write a C program that prompts the user to enter a

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!