February 21, 2017

Homework Help: Computing

Posted by CAMMY on Sunday, November 18, 2012 at 5:29pm.

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.

Answer This Question

First Name:
School Subject:

Related Questions

More Related Questions