fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int n1=0,n2=0;
  6. char op=0;
  7. scanf("%d%c%d",&n1,&op,&n2);
  8. switch(op)
  9. { case '+':printf("=%d,n1+n2");break;
  10. default:printf("a");
  11. }
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 5320KB
stdin
4+107383638
stdout
=-766872176,n1+n2