Question: c program code 2.20 (Circle Area, Diameter and Circumference) For a circle of radius 2, display the diameter, circumference and area. Use the value 3.14159

c program code c program code 2.20 (Circle Area, Diameter and Circumference) For a circle

2.20 (Circle Area, Diameter and Circumference) For a circle of radius 2, display the diameter, circumference and area. Use the value 3.14159 for . Use the following formulas ( r is the radius): diameter =2r, circumference =2r and area =r2. Perform each of these calculations inside the print f statement(s) and use the conversion specification xf. This chapter discussed only integer constants and variables. Chapter 3 will discuss floating-point numbers - that is, values that can have decimal points

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!