#include <stdio.h>
int main()
{
char +,-,/,*;
printf("Enter the operators:\n");
int a,b,c;
printf("Enter the 2 numbers:\n");
scanf("%d%d",&a,&b);
{
switch()
case 1= a+b;
printf ("%d=%d+%d",a+b);
break;
case 2= a-b;
printf ("%d=%d-%d",a-b);
break;
case 3= a*b;
printf ("%d=%d*%d",a*b);
break;
case 4= a/b;
printf ("%d=%d/%d",a/b);
break;
}
printf(a+b,a-b,a*c,a/b,%c);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: