Question: In C TA's Name: o pts) Write a function called sum digits that accepts an integer input parameter, determines the sum of the individual digits,
TA's Name: o pts) Write a function called sum digits that accepts an integer input parameter, determines the sum of the individual digits, and returns the sum. Campe, given a 3-digit integer 321, the sum of the digits is 3 + 2 + 1 = 6. example, given a 2. precondition: the integer inputs must be 3 digits
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
