This solution is outdated. To rescore this solution, sign in.
David Motson on 18 Nov 2019
I don't understand how this solution works? The return value is not set?
Nico Noordam on 18 Dec 2019
return only the names of those hotels with a rating of cutoff value or above in an output variable good.
So this solution will fail if rating is equal to cutoff. This is not tested in the asserts!
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!