#include<stdio.h>
int main () {
float x,y,sum,difference,product,division;
printf("ENTER THE NUMBERS\n");
scanf("%d%d",&x,&y);
sum=x+y;
difference=x-y;
product=x*y;
division=x/y;
printf("THE SUM IS : %d\n",sum);
printf("THE DIFFERENCE IS : %d\n",difference);
printf("THE PRODUCT IS : %d\n",product);
printf("THE DIVISION RESULT IS %d\n",division);
return 0;
}
No comments:
Post a Comment