Program to Find the Sum of Digits of a Number
Problem Statement: Write a C program to find the sum of digits of a given number. Description:This program calculates the sum of the digits of a number. It uses a loop and arithmetic operations to extract each digit of the number, add them together, and return the sum. Usage:The user enters a positive integer, and