File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -143,32 +143,32 @@ void printAlgorithm(){
143
143
}
144
144
145
145
void printProcesses (){
146
- cout<<" Process\t\t " ;
146
+ cout<<" Process " ;
147
147
for (int i=0 ;i<process_count;i++)
148
148
cout<<" | " <<getProcessName (processes[i])<<" " ;
149
149
cout<<" |" <<endl;
150
150
}
151
151
void printArrivalTime (){
152
- cout<<" Arrival\t\t " ;
152
+ cout<<" Arrival " ;
153
153
for (int i=0 ;i<process_count;i++)
154
154
cout<<" | " <<getArrivalTime (processes[i])<<" " ;
155
155
156
156
cout<<" |" <<endl;
157
157
}
158
158
void printServiceTime (){
159
- cout<<" Service\t\t " ;
159
+ cout<<" Service " ;
160
160
for (int i=0 ;i<process_count;i++)
161
161
cout<<" | " <<getServiceTime (processes[i])<<" " ;
162
162
cout<<" | Mean|" <<endl;
163
163
}
164
164
void printFinishTime (){
165
- cout<<" Finish\t\t " ;
165
+ cout<<" Finish " ;
166
166
for (int i=0 ;i<process_count;i++)
167
167
cout<<" | " <<finishTime[i]<<" " ;
168
168
cout<<" |-----|" <<endl;
169
169
}
170
170
void printTurnAroundTime (){
171
- cout<<" Turnaround\t " ;
171
+ cout<<" Turnaround " ;
172
172
int sum =0 ;
173
173
for (int i=0 ;i<process_count;i++){
174
174
cout<<" | " <<turnAroundTime[i]<<" " ;
@@ -179,7 +179,7 @@ void printTurnAroundTime(){
179
179
}
180
180
181
181
void printNormTurn (){
182
- cout<<" NormTurn\t " ;
182
+ cout<<" NormTurn " ;
183
183
cout<<fixed<<setprecision (2 );
184
184
float sum =0 ;
185
185
for (int i=0 ;i<process_count;i++){
You can’t perform that action at this time.
0 commit comments