Question
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.
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
Related Questions
Write a complete C# program that displays a menu comprising of the followings:
Main Menu
1) Calc...
How would the flow charts and pseudocode look for this?
The Metric Conversion application is a me...
Write a program that asks a user for a radius value and then draws a blue circle inside a red square...