Hi all,
Coming from a C++ background and now having to learn to code in java I've run into a little bit of trouble. The program I'm writing has to prompt the user to enter a Shape (either an ellipse, circle, rectangle, square, or parallelogram, or press 0 to quit), then have the user pick whether they want to find the area or perimeter.
Then you need to have the user enter the correct parameters, i.e. height/width for the area of a square, or the height x 2 + width x2 for the perimeter, or pie x (radius x radius) for the area of the circle / 2 x pie x radius for the perimeter, etc, etc, and finally have the program print the output
any help at all would be appreciated
thanks
Last edited by
DrRakha on Tue Feb 17, 2009 8:55 pm, edited 1 time in total.
Reason: change title