Write a program in C graphics which take input from the user for the choice from

Report
-
Hello,


Write a program in C graphics which take input from the user for the choice from the displayed list:

1. Triangle

2. Rectangle

3. Circle

if user chooses any one of them then, another input be required for how many : means number of triangles, rectangles, or circles,

if user gives input for the triangle then he / she must be asked for the size of triangle by base and height, if user chooses number 2 for rectangle then he / she be asked for the size in width and height and if the user chooses 3 then he must be asked for the radius

and display the number of triangles/rectangles/circles and move them from the center of screen and set them all separately on the screen using moving object techniques.

The placement of objects is upto you but ultimately it should look a beautiful placement of objects