1.

If KMT = 100, LITRES = 5.0, PCOST = 28.0 and OPCOST = 70.0 what will be the result of the following FORTRAN 77 program? INTEGER KMTREAL LITRES, PCOST, OPCOST, PKCOST READ *, KMT, LITRES, PCOST, OPCOST, PKCOST KMPL = KMT/LITRES PKCOST = (PCOST * LITRES + OPCOST)/ KMT

A. 2
B. 2.10
C. 21
D. 21.0
Answer» C. 21


Discussion

No Comment Found