Determine the square root of the value the user has entered, n.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers801
Suggested Problems
-
Return the 3n+1 sequence for n
8535 Solvers
-
Back to basics 21 - Matrix replicating
1827 Solvers
-
701 Solvers
-
860 Solvers
-
Check that number is whole number
5494 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Hello Samantha,
I think you should change "assert(isequal(your_fcn_name(x),y_correct))
" to "assert(isequal(your_fcn_name(n),y_correct))"
I made the suggested change to the test suite and re-scored.