+ 2

Why this is not working

switch calculator https://code.sololearn.com/cxUu5G5HtFtp/?ref=app

14th Feb 2018, 11:08 AM
DEEPENDU PANDIT
DEEPENDU PANDIT - avatar
4 Answers
+ 17
you define ch as int! it must be char. edit it and it will work.
14th Feb 2018, 11:19 AM
Mazin Ayash
Mazin Ayash - avatar
+ 2
thanks..now it is working!!
14th Feb 2018, 3:35 PM
DEEPENDU PANDIT
DEEPENDU PANDIT - avatar
+ 1
it is not working
14th Feb 2018, 12:58 PM
DEEPENDU PANDIT
DEEPENDU PANDIT - avatar
+ 1
well it's working line no 7 remove ch then type char ch; on next line
14th Feb 2018, 1:10 PM
‎ ‏‏‎Anonymous Guy