フィルターのクリア

how can we compered every element in array with input element entered by user and retrieve the biggest number

1 回表示 (過去 30 日間)
A little school building has 10 classrooms of various sizes. Each semester the school runs several classes that must be scheduled for the rooms in the building. Write a Matlab script that, given the capacity of each room in the building and the size of a class, will attempt to find satisfactory room assignment that will accommodate the class in the building. If the class cannot be satisfactory placed, the script should print a “Room is not available” message, otherwise, a message saying that “Room number XX which has YY seats, is best for the class of size ZZ”.

採用された回答

Image Analyst
Image Analyst 2016 年 12 月 3 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDialog Boxes についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by