#include struct process { int bt, rbt, tat, wt, id; } p[50], x[50]; void main() { int i,j,k-1, n,netBurst=0,cmp=0; int totalTAT = 0, totalWT = 0; float avgTAT, avgWT; printf("Reading the number of processes... "); scanf("%d", &n); printf("Reading the burst times of each process... "); for(i=0;i\t", i+1); p[i].id = i+1; scanf("%d", &p[i].bt); p[i].rbt = p[i].bt; netBurst += p[i].bt; } x[0].tat = 0; int qt; printf("Reading the time slice... "); scanf("%d", &qt;); while (cmp != netBurst) { for (i=0; i