#include <iostream>
using namespace std;
int main()
{ int n;
cout<<"enter your toal no. of process";
cin>>n;
float total,wait[n];
float p[n],twaiting=0,waiting=0;
int proc;
int stack[n];
float brust[n],arrival[n],sbrust,temp[n],top=n,prority[n];
int i;
using namespace std;
int main()
{ int n;
cout<<"enter your toal no. of process";
cin>>n;
float total,wait[n];
float p[n],twaiting=0,waiting=0;
int proc;
int stack[n];
float brust[n],arrival[n],sbrust,temp[n],top=n,prority[n];
int i;