Question: Write a program to setup a Job Sequence machine, to find the following: Optimal job sequence. Total elapsed time. Idle time for each machine. Note

Write a program to setup a Job Sequence machine, to find the following:
Optimal job sequence.
Total elapsed time.
Idle time for each machine.
Note that:
Using any c++
The max number of machines is 3
The max number of jobs is 10
test input:
enter number of machines: 3
enter number of jobs:5
Enter job 1 details (id ai bi ci): 1854
Enter job 2 details (id ai bi ci): 21069
Enter job 3 details (id ai bi ci): 3628
Enter job 4 details (id ai bi ci): 4736
Enter job 5 details (id ai bi ci): 51145
output:
Optimal Job Sequence: 32514
Total elapsed time: 51
Idle time for Machine A: 9
Idle time for Machine B: 31
Idle time for Machine C: 19
 Write a program to setup a Job Sequence machine, to find

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!