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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started