fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. char op1;
  5. scanf("%c", &op1);
  6. switch (op1) {
  7. case '+':
  8. printf("ola");
  9. }
  10. }
  11.  
  12. //https://pt.stackoverflow.com/q/109643/101
Success #stdin #stdout 0s 4412KB
stdin
+
stdout
ola