CodeChef - Sum Of Digits Of a Number
Problem Statement:- You're given an integer N. Write a program to calculate the sum of all the digits of N.
Input
The first line contains an integer T, the total number of testcases. Then follow T lines, each line contains an integer N.
Output
For e...
blog.atharvasid.me2 min read