Discussion :: Microprocessors
-
If J = 12 and X = 24.4 the result of the following FORTRAN 77 program will be
READ *, J, X
K = J ** 2
Z = 3 * X
Print *, J, K, Z
Answer : Option A
Explanation :
J = 12, K = 122 = 144, Z = 3 x 24.4 = 73.2 In the result J and K will be without decimal point.
Be The First To Comment