Question: in c programming Write a program that will calculate area for plane shapes. User will be prompted with a menu to choose the shape they

 in c programming Write a program that will calculate area for

in c programming

Write a program that will calculate area for plane shapes. User will be prompted with a menu to choose the shape they want to calculate. The program prompts user for input data required for the calculation such as base, height and width. The program then display area of the shapes and prompt the user whether they want to continue or exit. The program will only stop if the user chooses to exit by entering N. Sample output is shown below: Area Calculator for Plane Shapes Choose the shape below by entering the number 1. Triangle 2. Rectangle 3. Square 4. Circle Enter your choice:1 Please enter the following information Base: 4 Height:8 The area of triangle is 16 Do you want to continue(Y/N)? N Thank you for using the calculator Formula for area calculation: Shapes Triangle Rectangle Square Circle Parameters Area Formula b = base, h height | b h width, h height I w h a length of side pie = 3.142, r = radius | plex radius | w

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!