Why is my occupancy rate coming out incorrectly?

0 votes
asked Mar 19 by Angela Minardi (120 points)
I'm trying to write a code that has the same output as the instructor's sample but I can't get it to match up. It's written in c++. I would really appreciate any help with this since I'm pretty stuck.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...