priority scheduling with arrival time
description
priority scheduling with arrival time
Transcript of priority scheduling with arrival time
PRIORITY.c#includestruct priority{ char process; int arrival_t,burst_t,turn_t,wait_t,start_t,finish_t,pr;}; void main(){ int n,i,j,temp,temp1; char ch; float avgturn=0.0,avgwait=0.0; printf("\n enter the no. of process: "); scanf("%d",&n); struct priority s[n]; printf("\n enter the process name: "); for(i=0;i