Home / ECE / Microprocessors :: Discussion

Discussion :: Microprocessors

  1. If N = 196, the result of the following program will be

    INTEGER N, DIGIT 1, DIGIT 2, DIGIT 3,
    SUM
    READ*, N
    DIGIT 1 = N - (N / 10)* 10 N = N / 10
    DIGIT 2 = N - (N / 10)* 10 N = N / 10
    DIGIT 3 = N - (N / 10)* 10
    SUM = DIGIT 1 + DIGIT 2 + DIGIT 3

  2. A.
    196
    B.
    16
    C.
    16.0
    D.
    196.0

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    No answer description available for this question.


Be The First To Comment