Question: Write a program to work out the circumference and area of a circle of radius 5cm. Take the value of PI as 3.14 and declare
Write a program to work out the circumference and area of a circle of radius 5cm. Take the value of PI as 3.14 and declare it as a constant in your code. area = PI x radius x radius circumference = 2 x PI x radius
Write code in Java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
