Computer Science, asked by tr5071684, 4 days ago

python Program to find the sum of the digit of an integer while using loop.​

Answers

Answered by SriHariKaranarikaran
0

Take the value of the integer and store in a variable.Using a while loop, get each digit of the number and add the digits to a variable.Print the sum of the digits of the number.

hope this helps pls mark as Brainlist

Similar questions