#include <stdio.h>

int main() 
{
   char c;
    scanf("%c",&c);
    int a,b;
    scanf("%d",&a);
    scanf("%d",&b);
    switch (c)
    {
        case'+':
        printf("the sum of two numbers are %d",a+b);
        break;
            case'-':
            printf("the difference of the two numbers are %d",a-b);
        break;
        case '*':
        printf("the product of the two numbers are %d",a*b);
        break;
        case '/':
        printf ("the division of the two numbers is %d",a/b);
        break;
        
    }
        
        
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: