#include
#include
void main()
{
int a,b,add,sub,mul,div;
clrscr();
printf("Enter any 2 numbers");
scanf("%d %d", &a,&b);
add=a+b;
printf("The addition of numbers=%d",add);
sub=a-b;
printf("The substraction of number=%d",sub);
mul=a*b;
printf("The multiplication of number=%d",mul);
div=a/b;
printf("The division of numbers=%d",div);
getch();
}
No comments:
Post a Comment