Electronics and Communication Engineering - Microprocessors - Discussion

Discussion Forum : Microprocessors - Section 2 (Q.No. 38)
38.
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
9
18
90
100
Answer: Option
Explanation:

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

Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.