A program that asks the user to input the diameter of a circle, then calculates and displays the circumference and area of that circle using the diameter value. The circumference is calculated as π * diameter and the area is calculated as π * radius^2, where the radius is half the diameter.
A program that asks the user to input the diameter of a circle, then calculates and displays the circumference and area of that circle using the diameter value. The circumference is calculated as π * diameter and the area is calculated as π * radius^2, where the radius is half the diameter.
A program that asks the user to input the diameter of a circle, then calculates and displays the circumference and area of that circle using the diameter value. The circumference is calculated as π * diameter and the area is calculated as π * radius^2, where the radius is half the diameter.