Question: Write a program in which you do the following: Create a variable to contain the length of a rectangle, and another to contain the width.

Write a program in which you do the following:
Create a variable to contain the length of a rectangle, and another to contain the width.
Find the perimeter of the rectangle and display it.
Do the same for the area.
If the length was a radius of a circle what would the area of that circle be (find it and display it)
and what would be the circumference of that circle.

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!