Join the IDNLearn.com community and start exploring a world of knowledge today. Ask your questions and receive reliable and comprehensive answers from our dedicated community of professionals.

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).