Google News
logo
Electronics and Communication Engineering (ECE) : Microprocessors - Quiz(MCQ)
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
A)
9
B)
18
C)
90
D)
100

Correct Answer : Option (C) :   90


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

Advertisement