Question: In C + + write a program that uses these funtions to make a rocket void drawChars ( char ch , int numChars ) ;

In C++ write a program that uses these funtions to make a rocket void drawChars(char ch, int numChars);
void drawTriangle(char ch, int numRows, int offset);
void drawTrapezoid(char ch, int topWidth, int numRows);
void drawRectangle(char fillChar, char borderChar, int numRows, int numCols, int offset);
void drawRocket(int size);
Call drawTriangle and drawRectangle followed by drawTrapezoid('Z',size+1, size);
Just three lines of code in total.
You figure out arguments for drawTriangle and drawRectangle.
see the image for an exaple run of how its supposed to be:
Also
 In C++ write a program that uses these funtions to make

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!