Question: This is Force 2.0 with Fortran 77: ! Program to find the area and perimeter of a circle program circle implicit none ! Variable declaration
This is Force 2.0 with Fortran 77:
! Program to find the area and perimeter of a circle program circle implicit none
! Variable declaration real :: area, perimeter, radius real parameter :: pi = 3.142
! Calculating the area write(*,*) 'Enter the radius of a circle' read(*,*)radius area = pi * radius **2 write(*,*) 'The area of the circle is:', area
!Calculating the perimeter perimeter = 2*pi*radius write(*,*) 'The perimeter of the circle is:', perimeter PAUSE end program circle
This program must be done with and without functions. Also, I'd like the errors to be fixed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
