Basic Add program in C language

This program is for display the sum of two number with C language

#include<stdio.h>
#include<conio.h>
main()
{
int a,b,c;
printf("Enter two number for addition ");
scanf("%d %d ",&a,&b);
c=a+b;
printf("Sum of two number is %d ",c);
getch();
}

Comments

Popular posts from this blog

Draw a line, First graphics program in C