write a program to input an integer and find the sum of digits
Answers
Answered by
1
C program to input a number and calculate sum of digits
siddhartharao77:
But the question is to write a program.
Answered by
0
#incluude<studio.h>
Main()
Int a, b, c;
a=10,b=50;
c=a+b;
scanf("add a and b, %d, %d") ;
Printf("addition of two NUMBERS : %d", c) ;
Getch() ;
Main()
Int a, b, c;
a=10,b=50;
c=a+b;
scanf("add a and b, %d, %d") ;
Printf("addition of two NUMBERS : %d", c) ;
Getch() ;
Similar questions