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) 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
Get step-by-step solutions from verified subject matter experts
