Write a program to add two numbers

Written by Sharad Raj on 13th of March, 2018

BASIC PROGRAMS   C LANGUAGE PROGRAMS

PROGRAM CODE

#include<stdio.h>

#include<conio.h>

void main()

{

int a,b,sum;

clrscr();

printf(“enter any two numbers : ”);

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

sum=a+b;

printf(“\nsum is = %d”,sum);

getch();

}