Write a program using (C or C++) to implement the following algorithm - Shortest Job First (SJF)

Write a program using (C or C++) to implement the following algorithm

- Non Pre-emptive Priority

For each algorithm compute waiting time; turnaround time; response time; average
waiting time; average turnaround time and the average response time of each process.
Last edited on
Do you have a question?
from what you gave us, is just
sort jobs by length.
fire them off in order.
Topic archived. No new replies allowed.