write the program to print the sum of the digits of a given number
Answers
Answered by
1
Answer:
#include<stdio.h>
int main()
{
int n,sum=0,m;
printf("Enter a number:");
scanf("%d",&n);
while(n>0)
{
Answered by
0
Similar questions