Hello, Rahul Prakash. Please check the Solution Template that is shown to all players. Some details there may not need to be shown to everyone. —DIV
FYI, switch-case works just like if-else.
Please prevent that as well if you hate hard-coded solutions.
@Lincoln Thank you for the note.
I will do so as well.
Test Suite needs more test cases.
Test suite updated and solutions rescored.
Magic is simple (for beginners)
2946 Solvers
370 Solvers
379 Solvers
329 Solvers
93 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!