For Python, write a program that reads and processes sets of data until a sentin
ID: 645477 • Letter: F
Question
For Python, write a program that reads and processes sets of data until a sentinel value of a negative number. The first number in a set is a room number, the second is the room's capacity, and the third is the size of the class scheduled to meet in that room. For each triplet set, print an output line showing the classroom number, capacity, number of seats filled, number of seats available, and a message ("FULL" or "OPEN") indicating whether the classroom is filled or not. After all classrooms have been processed, a summary is to be printed.
Explanation / Answer
Ans : I am not aware of the Python software Still I will try to help you out with this program by providing you some examples. Here are some examples which will help you:
Sentinel Controlled Loop
Each of the loops we
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.