1. Engineering
  2. Computer Science
  3. write a c program program to calculate the sum of...

Question: write a c program program to calculate the sum of...

Question details

Write a C program program to calculate the sum of digits of a number: Use modulus
operator (%) to extract individual digits of a number and keep on adding them.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution