0b9fef0fc8f507f738ec86e341877c6afcf700a0b1b75f103319f66264f79c0d4b6dfe


  #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
   char oper;
   int a, b;
   int tmp;
  
   printf("Choose the operator. (add: + / subtract: - / multiply: *)\n");
   scanf("%c", &oper);
   printf("Enter first integer you want to calculate.\n");
   scanf("%d", &a);
   printf("Enter second integer you want to calculate.\n");
   scanf("%d", &b);

   if (oper == "+")
      tmp = a + b;
  
   else if (oper == "-")
      tmp = a - b;
  
   else if (oper == "*")
      tmp = a * b;

   else
      printf("Enter valid type of operator.");
     
   printf("%d %c %d = %d", a, oper, b, tmp);
}


//덧셈 뺄셈 곱셈 중 기호 하나 선택하고 숫자 두개 입력해서 뱉어내는 코드인데 자꾸 oper 변수(연산자)랑 tmp(결과값)이 입력이 안됨