write a Java program to accept the radius of a circle. Print the circumference and area of a circle. ( cirum = 2πr, area = πr^2)
Answers
Answered by
1
Answer:
Step 1: Start Step 2: input r Step 3: let pi = 3.14 Step 4: area = pi * r * r Step 5: circum = 2 * pi * r Step 6: print area, circum , Step 7: stop:
Explanation:
Similar questions