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.