program to add two number input by user. #include<stdio.h> void main() { int a,b,c; printf("Enter a number: "); scanf("%d",&a); printf("Enter a number: "); scanf("%d",&b); c=a+b; printf("sum=%d",c); }
Posts
Showing posts from August, 2017