Question: 1. Write a program to compute and display the perimeter (P) and the area (A) of an ellipse. The program will ask the integer values

 1. Write a program to compute and display the perimeter (P)

1. Write a program to compute and display the perimeter (P) and the area (A) of an ellipse. The program will ask the integer values of major axis length (a) and minor axis length (b) as the inputs. Give the answers in 2 decimal numbers. b a Area A = b a2 + b2 Perimeter P = 2T 2 la? gb Which; a -> Major axis length, b -> Minor axis length, n = 3.14159

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!