write a program to print the sum of all digits of a given number.
Answers
Answered by
0
Answer:
n=int(input("Enter a number:"))
tot=0
while(n>0):
dig=n%10
tot=tot+dig
n=n//10
print("The total sum of digits is:",tot)
Answered by
3
Explanation:
Pointer
In computing, a pointer or mouse cursor is a symbol or graphical image on the computer monitor or other display device that echoes movements of the pointing device, commonly a mouse, touchpad, or stylus pen. It signals the point where actions of the user take place.i think answer might be interested.
THIS IS ABOUT POINTER OF MOUSE OK FRIENDS
Similar questions
India Languages,
4 months ago
Math,
4 months ago
Math,
4 months ago
Math,
8 months ago
English,
1 year ago