Friday, 26 August 2016

C program to add two numbers

// program to add two numbers
#include<stdio.h>
#include<conio.h>
void main()
{
  int a,b,c;
  printf("Enter two numbers to be added").
  scanf("%d",&a);
  scanf("%d",&b);
  c=a+b;
  printf("%d",c);
  getch();
}