New course! Every coder should learn Generative AI!
Try a free lesson0
Can we pass floating point in a Switch case ..?
how.?
2 Answers
+ 9
@Pema : You didn't add the language in your post tags, you'll get more help by doing so.
+ 1
case (2.5 * 10)/10:
I think so.