Asked by CAMMY

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.

Answers

There are no AI answers yet. The ability to request AI answers is coming soon!
There are no human answers yet. A form for humans to post answers is coming very soon!

Related Questions