I've just recently started programming with C at college and I've been given a problem that has me stumped.
6. Write a program to determine whether the sum of digits of a three digit input number is even or odd. The input may have less than 3 digits, but never more. For instance, the sum of digits of 145 is 1+4+5. The answer is 10 which is even. Your program should first sum the digits and then determine whether this sum is even or odd. USE A LOOP STRUCTURE TO SEPARATE THE DIGITS AND ADD THEM.
How would I even go about starting this problem? Thanks for any help.