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
English,
4 months ago
English,
4 months ago
Psychology,
4 months ago
Math,
9 months ago
Social Sciences,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago