0

i need help guys,the else statement at last is not working .help me!

https://code.sololearn.com/cw64Py6Dj885/?ref=app

15th Jan 2018, 9:59 AM
kanishkaditya shukla
kanishkaditya shukla - avatar
3 Answers
+ 2
https://code.sololearn.com/cCVy3FMZDNnh/?ref=app in this way we can use default
15th Jan 2018, 10:15 AM
NAGANDLA.LEELA PAVAN KUMAR
NAGANDLA.LEELA PAVAN KUMAR - avatar
+ 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
15th Jan 2018, 10:11 AM
NAGANDLA.LEELA PAVAN KUMAR
NAGANDLA.LEELA PAVAN KUMAR - avatar
+ 1
thanks dada 😊😊😊
15th Jan 2018, 10:16 AM
kanishkaditya shukla
kanishkaditya shukla - avatar