"...return a positive integer, y, which is the xth term ..." in de description.
I have a single line of code in my solution -- how is yours so small!?!
Make the vector [1 2 3 4 5 6 7 8 9 10]
36900 Solvers
4183 Solvers
1386 Solvers
125 Solvers
Natural numbers in string form
387 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!