You need to test with more than one number. Many attempt (and succeed) with a static vector solution until they are lucky.
When i run the program it says fn is undefined. Please explain
3097 Solvers
165 Solvers
589 Solvers
Make an awesome ramp for a tiny motorcycle stuntman
336 Solvers
Vector of numbers divisible by 3
129 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!