If I do, good wheel:
#include <stdio.h>
int op1;
int main(){
scanf("%d", &op1);
switch(op1) {
case 1:
puts("Hello World");
}
}
I wanted to make when entering a special character, for example, +, -, / (etc), shows me in the case, "Hello World" instead of having to put 1. Has it like? Something like this:
#include <stdio.h>
int op1;
int main(){
scanf("%d", &op1);
switch(op1) {
case +:
puts("ola");
}
}