Computer Science, asked by zeyad44, 5 months ago

Write a program to input a two digit number and find the sum of its digits​

Answers

Answered by jeenaby42
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