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 Odpowiedź
+ 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.