Problem 44683. Perfect Square
Solution Stats
Problem Comments
-
2 Comments
Lincoln Poon
on 20 Jan 2021
FYI, switch-case works just like if-else.
Please prevent that as well if you hate hard-coded solutions.
Dyuman Joshi
on 30 Jan 2021
@Lincoln Thank you for the note.
I will do so as well.
Solution Comments
-
2 Comments
David Verrelli
on 12 Jun 2018
Test Suite needs more test cases.
Dyuman Joshi
on 19 Dec 2020
Test suite updated and solutions rescored.
Problem Recent Solvers76
Suggested Problems
-
382 Solvers
-
456 Solvers
-
Write a code that will follow the equation y = x * (x + x) * x.
291 Solvers
-
796 Solvers
-
636 Solvers
More from this Author27
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!