Write a program to input a two digit number and find the sum of its digits
Answers
Answered by
0
Answer:Let's see the sum of digits program in C.
#include<stdio.h>
int main()
{
int n,sum=0,m;
printf("Enter a number:");
scanf("%d",&n);
while(n>0)
{
Explanation:
Similar questions
Social Sciences,
3 months ago
English,
3 months ago
Social Sciences,
3 months ago
Math,
8 months ago
Social Sciences,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago