0

Can I do a switch with letters and not with numbers?

9th Aug 2016, 11:18 AM
Marc Rosenplänter
Marc Rosenplänter - avatar
3 ответов
0
yes with characters indeed for example switch(){ case 'a' : break; case 'b' : break; } and so on...
9th Aug 2016, 12:32 PM
Suhail Pappu
Suhail Pappu - avatar
- 1
yes with characters
9th Aug 2016, 11:49 AM
Abhishek Kumar
Abhishek Kumar - avatar
- 1
yes bit you will have to use char daya type.. ex: char x,y;
17th Oct 2016, 6:45 AM
gurinder sandhu
gurinder sandhu - avatar