PROBLEM LINK:
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 [CodeChef: Practical coding for everyone