Question: You are going to write a program to compute and output the area of a circle with a radius of 2.5. Think through what

You are going to write a program to compute and output the 

You are going to write a program to compute and output the area of a circle with a radius of 2.5. Think through what you need to do: Create a variable for radius set it to 2.5 Create a variable for area set it to 3.14159 * radius * radius output the value of area Make sure to use existing constant for Pl, and use radius squared instead of radius * radius. Challenge Guard for bogus input Challenge Find the radius given either the diameter, or a circumference H Activate W

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

import ma... 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!