#include #include struct sjf { int pid; int btime; int ttime; int wtime; } P[10]; int main() { int i,j,n; struct sjf temp; int totwtime=0,tottime=0; printf ("scheduling\n"); printf("enter the no.of process"); scanf("%d",&n); for(i=0;iP[j].btime) { temp=P[i]; P[i]=P[j]; P[j]=temp; } } } for(i=0;i