Os p
Fcfs // FCFS #include<stdio.h> #include<stdlib.h> int addrq(); int selectionjob(); int deleteq(int); int fsahll(); struct job{ int atime; //arraival time. int btime; //brust time. int ft; //finish time. int tat; //Trun around time. int wt; // waiting time. }p[10]; int arr[10],brust[10],n,rq[10],no_rq=0,time=0; int main(){ int i,j; printf("Enter the job/process number:"); scanf("%d",&n); printf("\n"); for(i = 0;i<n;i++){ printf("Enter the arrival time p%d:",i); scanf("%d",&p[i].atime); //Assigning the arrival time. arr[i] = p[i].atime; } printf("\n"); for(i = 0;i<n;i++){ printf("The arrival time of p%d:",i); printf("%d\n",p[i].atime); //Printing the arrival time. // arr[i] = p[i].atime; } printf("\n"); for(i = 0;i<n;i++){ printf("Enter the brust time p%d:",i); scanf("%d",&p[i].btime); //Assigning the br...