Skip to content

Instantly share code, notes, and snippets.

#include<iostream>
using namespace std;
int main()
{
int count,no_of_processes,i,time,remaining;
int flag=0,timequantum1[100],timequantum2[100];
int Wtime=0,TAT=0,Atime[10],Btime[10],Rtime[10];
cout<<"------------------*****WELCOME*****------------------\n";
cout<<"Enter total no. of processes ";