MUST BE WRITTEN IN OBJECT ORIENTED C++ STYLE ONLY, NO PROCEDURAL DONT NOT COPY A
ID: 663278 • Letter: M
Question
MUST BE WRITTEN IN OBJECT ORIENTED C++ STYLE ONLY, NO PROCEDURAL
DONT NOT COPY AND PASTE A WRONG ANSWER TO A REPOST OF THIS!!!
NEED A REAL ANSWER
MUST USE CLASSES
You may use any method of inputting your data to your program you wish. Note that you will need to create your own test data.
MUST WORK
Industrial engineering, it is sometimes necessary to simulate manufacturing and service operations for the purpose of improving efficiency and optimizing the system. In this problem you are to model a rapid oil change and lubrication business. The queue data structure can be used to do this. Assume that the station has the following:
A. There are three bays for changing oil
B. It takes 15 minutes to service each car
C. One car arrives randomly between every 2 and 20 minutes
D. At the end of a 12-hour day, all waiting car are sent away.
Write you program to model 30 days of operation. Determining the average waiting time for the cars and the total amount of idle time for the bays. Run your program 12 times to get an understanding of the variability of the results. Report all your answers.
Explanation / Answer
char str1[] = "apple"; const char * str2 = "orange"; coutRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.