Home / ECE / Microprocessors :: Discussion

Discussion :: Microprocessors

  1. Consider the following program in Basic

    10 READ X, Y, Z
    15 DATA 20, 30, 10
    20 S = X + Y + Z
    30 A = S/3
    35 PRINT S, A, X, Y, Z
    40 END


    The output will be

  2. A.
    60, 20, 20, 30, 10
    B.
    10, 30, 20, 20, 60
    C.
    60, 20, 30, 10, 20
    D.
    60, 30, 10, 20, 20

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    .


Be The First To Comment