0
i need help guys,the else statement at last is not working .help me!
3 Answers
+ 2
https://code.sololearn.com/cCVy3FMZDNnh/?ref=app
in this way we can use default
+ 1
just use a another case in switch statement by using a keyword called default
which is used when any character which is not written in any cases in switch then the default case statement are excited
default : cout<<"not an valid operator";
try to use this in your switch block instead of else
+ 1
thanks dada đđđ