Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Digit Sum Calculator - 1/5

Challenge: Write a program that takes a number and returns the sum of its digits.

Starting hint: Iterate over the digits of the number and add them together.