Computer Science, asked by tanmaytodi299, 7 months ago

Write a java program to input diameter of circle and find the area.​

Answers

Answered by prajwal1st
1

Answer:

Logic to find diameter, circumference and area of circle

Input radius of circle from user. Store it in a variable say radius. Apply the formulas to calculate diameter, circumference and area. Use diameter = 2 * radius, circumference = 2 * 3.14 * radius and area = 3.14 * radius * radius.

Explanation:

Mark me as brainliest answer

Similar questions