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

 Write a program that will calculate area for plane shapes. User will  

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 b= base, h= height Area Formula xbxh wxh w = width, h = height a = length of side pie = 3.142, r = radius pie x radius

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Sure Heres a Python program that implements the area calculator for various plane shapes based on th... View full answer

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 Programming Questions!