Home / ECE / Microprocessors :: Discussion

Discussion :: Microprocessors

  1. A computer program is used to read N and print the sum 12 + 22 + 32 +.....+ N2. If N = 10, the print out will show the number

  2. A.
    100
    B.
    10
    C.
    385
    D.
    285

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    SUM = 12 + 22 + 33 + 44 + 52 + 62 + 77 + 82 + 92 + 102 = 385.


Be The First To Comment