Question: C++ JUST DO NUMBER 4 DO NOT USE RECURSIVE (no void) For this problem, we wish to draw a number of shapes, using character graphics.

C++ JUST DO NUMBER 4 DO NOT USE RECURSIVE (no void) For this problem, we wish to draw a number of shapes, using "character graphics". For each part of the problem, your program should input all parameters from the keyboard (after prompting the user). Moreover, the program should ensure that inputs are legal for the shape in question. Do not worry about the case where the parameters are too big to be displayed properly in the xterm. Draw a w-wide h-high rectangular frame, using asterisks. Ex (w=5, h=4): ***** * * * * ***** Draw the triangle constituting the northwestern half of a square, given the side length. Ex (side=5): ***** **** *** ** * Similar to 2, but for the southeastern half. Similar to 2, but excluding the top k rows (so, side and k are the inputs). Given a radius, draw a circle with that radius. Hint: Recall that a circle of radius r is defined as the set of points (x,y) where x2+y2

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!