Final answer:
The purpose of the sentinel value in the program is to indicate the end of seat and row requests. When the sentinel value is entered, the program will display the number of seats taken and the number still available in the auditorium.
Step-by-step explanation:
The purpose of the sentinel value in the program is to indicate the end of seat and row requests.
When a sentinel value is entered, the program will stop accepting seat and row requests and proceed to display the number of seats taken and the number still available in the auditorium.
This allows the program to know when to terminate the input loop and provide the final information to the user.