Skip to content

Commit aa05401

Browse files
committed
indentation
1 parent 333e891 commit aa05401

File tree

1 file changed

+4
-3
lines changed
  • CPU Scheduling Algorithms/SJF

1 file changed

+4
-3
lines changed

CPU Scheduling Algorithms/SJF/main.c

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
int main() {
44
/* code */
5-
int i,j,n,bt[20],pos,temp,p[20],wt[20],tat[20];
6-
float awt=0,atat=0;
5+
int i, j, n, bt[20], pos, temp, wt[20], tat[20];
6+
float awt=0, atat=0;
7+
78
printf("Enter Total Number of Processes:");
89
scanf("%d",&n);
910

@@ -23,7 +24,7 @@ int main() {
2324
if(bt[j]<bt[pos])
2425
pos = j;
2526
}
26-
//substitute
27+
//substitute...........
2728
temp = bt[i];
2829
bt[i] = bt[pos];
2930
bt[pos] = temp;

0 commit comments

Comments
 (0)