Amar,
I think you have the order of the planets wrong in the test suite. Mars is #4, and #2 is Venus (which is missing from your list).
Thanks william, edited it.
12379 Solvers
Increment a number, given its digits
562 Solvers
242 Solvers
Duplicate each element of a vector.
518 Solvers
Matlab Basics - Create a row vector
277 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!