please do it fast
fast plss i will make brainly
Attachments:
Answers
Answered by
0
This is in QBASIC.
Answer:
CLS
INPUT "enter the number"; n
a = n
DO WHILE a >= 10
a = a \ 10
LOOP
b = n
DO WHILE b >= 100
b = b \ 100
LOOP
b = b MOD 10
PRINT "The sum of the first 2 digits is"; a + b
END
Similar questions