Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
1 Commented Post
0 Endorsements
Ranked #107.55K
~1K People Reached
Favorite Forums
Favorite Tags

1 Posted Topic

Member Avatar for mark johnson

#include<stdio.h> main() { float avgwt,avgtt; char pname[10][10],c[10][10]; int wt[10],tt[10],bt[10],at[10],t,q,i,n,sum=0,sbt=0,ttime,j,ss=0; printf("\n\nEnter the number of processes:"); scanf("%d",&n); printf("\n\n Enter the NAME, BURST TIME and ARRIVAL TIME of thr process"); for(i=0;i<n;i++) { printf("\n\nNAME : "); scanf("%s",&pname[i]); printf("\n\nBURST TIME : "); scanf("%d",&bt[i]); printf("\n\n ARRIVAL TIME :"); scanf("%d",&at[i]); } for(i=0;i<n;i++) for(j=i+1;j<n;j++) { if(at[i]>at[j]) { t=at[i]; …

Member Avatar for emilycox08@yaho
0
1K

The End.