0
Hello every one ,i have question for you. i want to write a code for a store. the input should string so what is the soln ? it'
it makes me happy please help me. đ https://code.sololearn.com/com11i5hB6VD/?ref=app
1 Answer
+ 3
C/C++ switch cases values must be a integral constant. So it supports only integer, character as case values. Other types like string are not supported.
You can use string compare functions instead.