Posted by CAMMY on .
Write a program that displays the following menu:
1 = Square
2 = Circle
3 = Ellipse
4 = End program
When the user selects a shape from the menu, the program should ask for any necessary data, either:
the length of the square’s side,
the circle’s radius, or
the ellipse's X-radius and Y-radius
and then it should draw that shape in the center of the screen.
Use a loop to repeat this process until the user enters 4.