Vivekananda College of Engineering and Technology

Department of Electronics & Communication Engineering

Back to Experiments
Experiment 12
C Programming Lab

Aim

To find the sum of digits of a given number.

Algorithm

1. Read number.
2. Extract digits and sum.

Use or Edit the given C template

Output

C Programming Virtual Lab ยท Experiment 12