Collectiva Contest Programs & Solutions

Sum Of Digits
Write a function to return the sum of 1st, 3rd and 5th digits of a given 5 digit number. For example if the input is 38754 then the output should be 3+7+4=14.

No Comments..!