Write a program that prints a 3-column table showing thecircumferenceandareaoftencircles of a specifiedrandom radius. See Sample Output. The area and circumference arecalculated and printed by a custom functionthat takes a radius as its only argument. The low and high values for the range of random radii are specified byuser inputsin main. The main function should then use these high and low values and the random module in a loop to generate random integers and execute the custom function with the random integers as radii. In the table, the radius column should be6 charas. wide with 1 decimal, the circumference column should be12 charas. wide with 3 decimals, and the area column should be11 characters. wide with 2 decimals.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here