hi i am a fourth year computing major and i need some help with the following assignment. The program is to simulate the operation of one day's activity at an airport, and output the times waiting to land and take off for each BWIA flight. the program should include the following as input data :
1. the number of avaliable runways
2. the average time a runway is in use for an arrival
3. the average time a runway is in use for a departure
4. the average number of BWIA arrivals eah hour
5. the average number of other airline arrivals each hour.
6. the average number of BWIA departures each hour.
7. the average number of other airline departures each hour.
# include <iostream.h>
# include <iomanip.h>
# include " queue.h"
RandomGenerator generator;
int
random();
void main( )
{
double dpt_time,arr_time,bwia_dpt,bwia_arr,runways,other_arr,other_dpt
queue<int> " enter departure time:";
cin>> dpt_time;
cout<< " enter time runway is in use for arrivals:";
cin>> arr_time;
cout<< " enter number of bwia arrivals per hour:";
cin>> bwia_dpt;
cout<< " enter number of bwia departures per hour:";
cin>> bwia_arr;
cout<< " enter number of other arrivals per hour:";
cin>>other_arr;
cout<<" enter number of departures per hour:";
cin>>other _dpt;
cout<< " enter number of runways:";
cin>> runways;
initalize members to 0
for (minute = 1; minute <= 60; ++ minute)
{
if (random () < runways)
and this is as i far as i got , please help me.