Recent Posts From All Categories

Showing posts with label Python. Show all posts
Showing posts with label Python. Show all posts

sum of the digits of a given number

algorithm : Step 1:  Input N Step 2:  Sum = 0 Step 3:  While (N != 0)                         Rem = N % 10;                 ...
Read More