1 min readFeb 1, 2020
No. Your program is working fine.
fallthrough
statement is used to execute the next case block without evaluating the case
condition. This is like JavaScript switch
block where we can ignore break
statement inside a case
to allow fallthrough.
I have fixed this in the article. Thanks for bringing it up.