Write a program called A1Q3, that reads it the radius of a circle as an integer and prints the circle's diameter, circumference and area. Use a constant value for pi. Do all calculations in the output statements. The output should be in a table format using a tab escape code to align columns. What happens when the user enters a radius as a real number?
Here is a sample run:
What is the radius: 4
Diameter: 12.5664
Circumference: 25.1327
Area: 50.2654