fooz
?
0 Answer(s)      5 years and 10 months ago
Posted in : Java Beginners

Write a program using switch statement that reads a character representing a geometrical figure, then asks the user to enter the required data (ex. Radius for a circle, length and height for a rectangle, etc. ...) . The program should then print the area and circumference. Figures are: circle(c), square(s), rectangle(r), triangle (t).

Ads

View Answers









Related Tutorials/Questions & Answers:

Ads

Advertisement