Why this is not printing Answer?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3
20th Mar 2019, 12:48 PM
Mohammed Safeer
Mohammed Safeer - avatar
2 Answers
+ 1
I executed your code in phpfiddle.org and it worked 🤔 I did have to change the case statements to strings - e.g. case “None” - else there would be undefined errors
20th Mar 2019, 8:32 PM
Jenine
0
hello
28th Mar 2019, 4:13 PM
Sanjarshox