Home / ECE / Microprocessors :: Discussion

Discussion :: Microprocessors

  1. A computer program is used to read M and print the sum 2 + 4 + 6 + 8 +.........+ 2M. If M = 9 , the print out will show the number

  2. A.
    9
    B.
    18
    C.
    90
    D.
    100

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    SUM = 2 + 4 + 6 + 8 + 10 + 12 + 14 + 16 + 18 = 90.


Be The First To Comment