This solution is outdated. To rescore this solution, sign in.
-
4 Comments
Show
1 older comment
Yuhua Di
on 19 Jan 2020
lol
Alberto Chavez
on 21 Mar 2020
Maybe it is right for a determined "n", but for other values it's wrong, that is why it does several tests.
akarsh saxena
on 6 Oct 2020
not valid for even value of n. plz recheck it
Suggested Problems
-
1895 Solvers
-
Sum of diagonal of a square matrix
1600 Solvers
-
751 Solvers
-
2475 Solvers
-
1982 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!