Question: Write a C Or C++ program.By read the 20 arrival time and burst time from the txt file.(file with process number ,arrival time and burst

Write a C Or C++ program.By read the 20 arrival time and burst time from the txt file.(file with process number ,arrival time and burst time).

The calculation of completion time waiting time and turnaround time should read the data from the file (txt.file)

the calculation of completion ,turnaround, waiting time should involve the arrival time and burst time.(arrival time and burst time should include in calculation for turnaround and waiting)

User need to key in the quantum number and get the answer for completion time waiting time and turnaround time.

final answer should has waiting time ,turnaround time, average waiting time and average turnaround time

the user can run the program with key- in the different quantum number .(5,10,15,20,30,40)

please (i don't want answer from google please ) If u dont know the answer please dont answer it coz I will give dislike to your work.

the arrival time should include in calculation of waiting time please dont ignore .must use arrival time in calculation of WT @@@@@@read carefully. Dont copy others answer since I get many rubbish answer

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!