117k views
4 votes
Write a program that will calculate the areas of a circle, a square, and a rectangle depending on the user's input.

(use functions and switch statement).

User Saher
by
4.7k points

1 Answer

5 votes

Answer:

Step-by-step explanation:

this is the image I did it somewhere else so i took a photo then put it here.

Write a program that will calculate the areas of a circle, a square, and a rectangle-example-1
User Jspurlock
by
4.3k points