Skip to content

1. Sum of digits

Points
20
Type
ConsoleIO
Read a non-negative integer. Print the sum of its digits.

Examples

InputOutput
123 6
9 9
100000 hidden

Your code is saved locally until you submit a solution.

C#

Sign in to submit solutions and earn points.