You are on page 1of 1

//ADDTION

#include<stdio.h>
#include<conio.h>
//additon of two nos

void main()
{
int num1=10,num2=20,res;
int no1,no2;
clrscr();
res=num1+num2;
printf("\n Addition is %d ",res);
printf("\n Enter no1 & no2");
scanf("%d %d",&no1,&no2);
res=no1+no2;
printf("\n Addition is %d ",res);
getch();
}
*****************************************************************

You might also like