Write a program that computes the area of a circular region (the shaded area in the diagram) given the radius of the inner and the outer circles, ri and ro, respectively.

We compute the area of the circular region by subtracting the area of the inner circle from the area of the outer circle.

1.Develop a simple application using functions to calculate the area of the following shapes: Square, Rectangle and Triangle. The user should be able to perform any of the calculation and also press a key to terminate the program.

Write a program that displays the recommended weight in kilograms, given the user’s age and height in centimeters. The formula for calculating the recommended weight is

Recommended = (height – 100 + age %10) *0.90

Expert Answer

Answer to : Question 124410