Question: 5) Write a FORTRAN-90 that uses SELECT CASE to convert the integer numeric result into a letter grade as follow: 0:59 > 'F'; 60:69

5) Write a FORTRAN-90 that uses SELECT CASE to convert the integer numeric result into a letter grade as follow: 0:59 > 'F'; 60:69 'D': 70:79-'C ; 80:89-'B' ; 90:100>'A' Q4/ The following is a subroutine FORTRAN-90 program. Full-out the blanks 1-------- UsingSubroutine IMPLICIT 2-----... REAL , PARAMETER 3- - pi=3.14 4-.....- : r,h,v READ (5------ r, h 6-- CylinderVolume (r.h,v) WRITE(",")radius=', r WRITE(",")'height=", h 7--- WRITE(,) WRITE(*,")'volume=, v 8......... SUBROUTINE CylinderVolume (r1.hl.vl) IMPLICIT NONE REAL, 9 ----.... (IN) :: e, f REAL, INTENT(OUT) ::i vl=pi*rl**2*hl 10- SUBROUTINE CylinderVolume END
Step by Step Solution
3.44 Rating (147 Votes )
There are 3 Steps involved in it
Select case is conditional statement to check the value In the below code Declare 2 ... View full answer
Get step-by-step solutions from verified subject matter experts
