write a program to add 2 no s' in c language?
Answers
Answered by
1
- Write a program in C to add 2 numbers.
#include <stdio.h>
int main()
{
int a, b, s;
printf("Enter first number: ");
scanf("%d",&a);
printf("Enter second number: ");
scanf("%d",&b);
s=a+b;
printf("\nSum is: %d",s);
return 0;
}
Similar questions