-
2 Comments
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!
Suggested Problems
-
15915 Solvers
-
Sum of diagonal of a square matrix
1590 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
1891 Solvers
-
5280 Solvers
-
6737 Solvers
More from this Author13
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!