Question: Write an R script that will allow user to enter the radius of a circle and will display the area and perimeter of the circle.

Write an R script that will allow user to enter the radius of a circle and will display the area and perimeter of the circle. Also print the diameter of the circle. [Formula: Area of circle= 17, Perimeter of circle= 2ar ] [2.5 Marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
