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

7th Oct 2022, 11:22 AM
Daniel
Daniel - avatar
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.
7th Oct 2022, 11:41 AM
Jayakrishna 🇼🇳