1.

Write a program to input a three digit number and print the sum of its digits. BASIC​

Answer»

ANSWER:

a=int(INPUT("ENTER the no"))

n=len(a)

l=0

if n==3:

PRINT(n+l)



Discussion

No Comment Found