Write a program to calculate the diameter the circumference


Problem

Write a program to calculate the diameter, the circumference, and the area of a circle given a radius of 6.75. Assign the radius to a float variable, and then output the radius with an appropriate message. Define a constant Pi with the value 3.14159. The program should output the diameter, the circumference, and the area, each on a separate line, with identifying labels. Use an Exp value of zero and the values of Fore and Aft so that the decimal part will contain 5 digits and the total number of columns used for a number is 10.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a program to calculate the diameter the circumference
Reference No:- TGS02650964

Expected delivery within 24 Hours