Computer Science, asked by jobrulhaque1, 6 months ago

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

Answers

Answered by SupremePriya
2

Answer:

  1. PROGRAM circle_area. IMPLICIT NONE.
  2. ! reads a value representing the radius of a circle, ! then calculates and writes out the area of the circle.
  3. REAL :: radius, area. REAL, PARAMETER :: pi=3.141592.
  4. READ (*,*) radius. area = pi*radius*radius.
  5. WRITE (*,*) area. END PROGRAM circle_area

hope it helps ✌️

@supremepriya❤️

Similar questions