Sum of two variable


/* Sum of two variable */

#include<stdio.h>

main()

{

int a,b,c;

printf(“enter two no.”);

scanf(“%d%d”,&a,&b);

c=a+b;

printf(“sum=%d”,c);

getch();

}

Output:

Enter two no.4

5

Sum=9

Related Posts

Comments are closed.