#include <stdio.h> #include <stdlib.h> #include <math.h> int main() { int num1,num2; printf("please enter 2 number"); scanf("%d %d",&num1,&num2); printf("sum is %d\n",num1+num2); printf("minus is %d\n",num1-num2); printf("product is %d\n",num1*num2); printf("division is %d\n",num1/num2); return 0; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter