Question: Write two functions, one that displays a triangle and one that displays a rectangle. Use these functions to write a complete C program from the
Write two functions, one that displays a triangle and one that displays a rectangle. Use these functions to write a complete C program from the following outline:
int
main(void)
{
/* Draw triangle. */
/* Draw rectangle. */
/* Display 2 blank lines. */
/* Draw triangle. */
/* Draw rectangle */
}
Step by Step Solution
3.39 Rating (155 Votes )
There are 3 Steps involved in it
To create the C program as per your outline we need to write two functions one for displaying a tria... View full answer
Get step-by-step solutions from verified subject matter experts
