SUBSTRACTION OF TWO NO.
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("ENTER TWO NO FOR a & b\n");
scanf("%d%d",&a,&b);
c=a-b;
printf("ANSWER=%d",c);
getch();
}
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("ENTER TWO NO FOR a & b\n");
scanf("%d%d",&a,&b);
c=a-b;
printf("ANSWER=%d",c);
getch();
}
****************************************************************************************************************
SUM OF TWO NO.
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("ENTER TWO NO. FOR a &b\n");
scanf("%d%d",&a,&b);
c=a+b;
printf("answer=%d",c);
getch();
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("ENTER TWO NO. FOR a &b\n");
scanf("%d%d",&a,&b);
c=a+b;
printf("answer=%d",c);
getch();
}
Comments
Post a Comment