Wednesday
May 27, 2015

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:
Answer:

Related Questions

Members