FLOW006 - EDITORIAL

PROBLEM LINK:

Practice
Contest

DIFFICULTY:

CAKEWALK

PREREQUISITES:

None

PROBLEM:

You’re given an integer N . Write a program to calculate the sum of all the digits of N

EXPLANATION:

Calculate the sum of digits of N

AUTHOR’S SOLUTION:

Author’s solution can be found [https://www.codechef.com/viewsolution/23886936