Fill in the blanks sleet% cat e5.f90 PROGRAM P5 IMPLICIT NONE INTEGER :: i real
ID: 644597 • Letter: F
Question
Fill in the blanks
sleet% cat e5.f90
PROGRAM P5
IMPLICIT NONE
INTEGER :: i
real :: val=100.00, val03, val05, val07
print "(1X,_____1_____,'Value of 100 compounded annually')"
print "(1X,_____2_____',5X,'At 3%',5X,'At 5%',5X,'At 7%')"
do i=1,10
val03=val*(1.03)**i
val05=val*(1.05)**i
val07=val*(1.07)**i
print "(1X, _____3_____, _____4_____F_____5_____)",i, val03, val05, val07
end do
END PROGRAM P5
sleet% f90 e5.f90
sleet% a.out
Value of 100 compounded annually
Year At 3% At 5% At 7%
1 103.00 105.00 107.00
2 106.09 110.25 114.49
3 109.27 115.76 122.50
4 112.55 121.55 131.08
5 115.93 127.63 140.26
6 119.41 134.01 150.07
7 122.99 140.71 160.58
8 126.68 147.75 171.82
9 130.48 155.13 183.85
10 134.39 162.89 196.72
sleet%
ANSWER SECTION:
SELECTIONS FOR BLANK NUMBER 1
(a) 5X
(b) T4
(c) T5
(d) 5
(e) " "
SELECTIONS FOR BLANK NUMBER 2
(a) 'Year
(b) " Year"
(c) ' Year'
(d) ' Year
(e) Year
SELECTIONS FOR BLANK NUMBER 3
(a) I6
(b) F5
(c) I5.0
(d) I5
(e) I4
SELECTIONS FOR BLANK NUMBER 4
(a) "
(b) 4
(c) 3"
(d) 3(
(e) (
SELECTIONS FOR BLANK NUMBER 5
(a) 9.2)
(b) 11.2)
(c) 10.2'
(d) 10.2)
(e) 10.2"
Explanation / Answer
1)a
2)c
3)c
4)d
5)d
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.