Social Sciences, asked by jobrulhaque1, 7 months ago

Write a Fortran program to find the area of a circle​

Answers

Answered by mdniaz9193
5

Answer:

PROGRAM circle_area. IMPLICIT NONE.

! reads a value representing the radius of a circle, ! then calculates and writes out the area of the circle.

REAL :: radius, area. REAL, PARAMETER :: pi=3.141592.

READ (*,*) radius. area = pi*radius*radius.

WRITE (*,*) area. END PROGRAM circle_area.

Hope this answer helpful for you

Similar questions