Home / ECE / Microprocessors :: Discussion

Discussion :: Microprocessors

  1. 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

  2. A.
    12, 144, 73.2
    B.
    15.0, 144.0, 73.2
    C.
    15.0, 144.0, 73
    D.
    15. 144. 73

    View Answer

    Workspace

    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