I am doing a simple calculator using switch case but i ran into some problems and decided to do it in another way to check if what the user inputs is invalid but I cant make it work.
this is a piece of code from the program:
if (choice!="+"&&choice!="-"&&choice!="*"&&choice!="/");
    {
    printf("The type of operation is invalid\n");
    invalid=1;
    printf("Chose the type of operation, + for sum, - for subtraction, * for multiplication and / for division\n");
    scanf("%c", &choice);
    }
I cant verify if what the user inputs is different than +, -,, * or /.
I would love some help. Thank you in advance!
 
    