Write a program to input a three digit number and print the sum of its digits.
Answers
Answered by
0
Explanation:
a=int(input ("enter a number"))
b=int(input ("enter a second number"))
c=int(input ("enter a third number"))
sum=a+b+c
print ("sum of "a,b,c "is",sum)
Please mark it as brainliest
Similar questions