Question: For getting the credit for this assignment, you need to use a for loop. There is a local conference going on in the City Hall.
For getting the credit for this assignment, you need to use a for loop.
There is a local conference going on in the City Hall. Participants are different companies that want to introduce their work and products. Each will have a presentation. There is one video projector available and the person who is responsible to allocate it to the presenters needs to know how many second the projector will be used to allocate it properly. Otherwise, it will get overheated and will not work. It takes two minutes (120 seconds) for the projector to warm up and start working, also one and half minute (90 seconds) to cool down. Design an algorithm and write a C++ program that will do the following: Prompt the user to enter the number of participated companies Prompt the user to enter the presentation time for each company (in seconds) Calculate and output the total presentationstime Calculate and output the time video projector is in use (total presentationstime + warm up time + cooling down time)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
