1.

If N = 196, the result of the following program will beINTEGER N, DIGIT 1, DIGIT 2, DIGIT 3,SUMREAD*, NDIGIT 1 = N - (N / 10)* 10 N = N / 10DIGIT 2 = N - (N / 10)* 10 N = N / 10DIGIT 3 = N - (N / 10)* 10SUM = DIGIT 1 + DIGIT 2 + DIGIT 3

A. 196
B. 16
C. 16.0
D. 196.0
Answer» C. 16.0


Discussion

No Comment Found

Related MCQs