5) Write a FORTRAN-90 that uses SELECT CASE to convert the integer numeric result into a...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 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
Expert Answer:
Answer rating: 100% (QA)
Select case is conditional statement to check the value In the below code Declare 2 ... View the full answer
Related Book For
Auditing and Assurance Services
ISBN: 978-0077862343
6th edition
Authors: Timothy Louwers, Robert Ramsay, David Sinason, Jerry Straws
Posted Date:
Students also viewed these computer engineering questions
-
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
-
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'
-
A right circular cylinder of height h and radius r is inscribed in a right circular cone with a height of 10 ft and a base with radius 6 ft. (a) Express the height h of the cylinder as a function of...
-
Which of the following is most likely to be recognized as a defining characteristic of the public good? a) The good is a non-rival element. B) the good is a non-excludable item C) The good is both A...
-
The time to failure T of a microwave oven has an exponential distribution with pdf If three such microwave ovens are chosen and t is the mean of their failure times, find the following: (a)...
-
Geoff has two mutual fund options with the same investment objective and the same risks. One is a no-load mutual fund with an expense ratio of 0.50% and has historically returned 7.5%. The other fund...
-
The work functions of metals A, B, and Care 3.0 eV, 4.0 eV, and 5.0 eV, respectively. UV light shines on all three metals, causing electrons to be emitted. Rank in order, from largest to smallest,...
-
This diagram shows an example of memory configuration under dynamic partitioning, after a number of placement and swapping-out operations have been carried out. Addresses go from left to right; gray...
-
Draw an energy flow (LOL Diagram) for each scenario before you attempt to solve. 1. How much potential energy is associated with a 2kg ball that is held in position at the top of an 8 meter- high...
-
The Cirrus Co. Plc has the following balances on its books at 31 December 20X9. The following information is also given: 1. The inventory at 31 December 20X9 has been valued at 32,000. Further...
-
create a variable which equals to Scheduled Surprise, and then run a regression in which Y is Return, the first X variable is Surprise, and the second X variable is Scheduled*Surprise. The results...
-
Why does an annuity due have a higher present value than a similar ordinary annuity?
-
Assume the same facts as in Problem 46, except that Mary Beth is a real estate agent. She works 1,000 hours per year as a real estate agent and 1,200 hours per year managing her office building. How...
-
Why does an annuity due always have a higher future value than an ordinary annuity?
-
What is a yield curve, and what information would you need to draw this curve?
-
Which of the following is false with respect to ADA as a substantive test? a. the auditor can test the entire population. b. the test may detect a material misstatement. c. the five-step process to...
-
Dynamics capability is how a firm can integrate, build, and reconfigure internal and external capabilities to address changes in the marketplace. True O False
-
Suppose the government bond described in problem 1 above is held for five years and then the savings institution acquiring the bond decides to sell it at a price of $940. Can you figure out the...
-
Sydney Siebenthaler, the audit manager for Jennifers Running Shirts Inc., has just returned from a continuing education class on audit sampling and now wants to use discovery sampling or sequential...
-
You are the senior auditor in charge of the annual audit of Onward Manufacturing Corporation for the year ending December 31. The company is of medium size with only 300 employees. All 300 employees...
-
How can data entry and formatting controls minimize the likelihood of input errors?
-
Cress Trust owns houses in Marion County, for whom Rainbow Realty Group, Inc., sells, rents, and manages. The same person serves as Rainbows president and Cresss corporate trustee. Cress offers four...
-
Genevieve and William Timmons began their tenancy of a ground-floor apartment at Cobblestone Square in September 2011. Kingsley-Johnston, Inc., is a property management company responsible for...
-
Linda Miller rented 35 acres of pastureland in Wabaunsee County, Kansas, from William Burnett for $1,000 per year. Miller and her husband used the land to grow and harvest brome grass for their...
Study smarter with the SolutionInn App