Microprocessors - Engineering

Q1:

If N = 196, the result of the following program will be

INTEGER N, DIGIT 1, DIGIT 2, DIGIT 3,
SUM
READ*, N
DIGIT 1 = N - (N / 10)* 10 N = N / 10
DIGIT 2 = N - (N / 10)* 10 N = N / 10
DIGIT 3 = N - (N / 10)* 10
SUM = DIGIT 1 + DIGIT 2 + DIGIT 3

A 196

B 16

C 16.0

D 196.0

ANS:B - 16

No answer description is available.