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
Math,
2 months ago
English,
2 months ago
Math,
5 months ago
Social Sciences,
9 months ago
Math,
9 months ago
Social Sciences,
9 months ago