#include #include "queue.h" typedef struct arrival_struct { int time; // time of arrival int count; // number of passengers/seats arriving } itemtype; // function prototypes void passenger(node **headptr, node **tailptr, itemtype *arrival); double bus(node **headptr, node **tailptr, itemtype *arrival); // // int main(void) { node *head=NULL, *tail=NULL; itemtype item; // read in code until eof // read rest of data line into the variable item with item type structure // check if code is 0, then call passenger function else call bus function // shows how to call passenger function // passenger(&head, &tail, &item); // // else // bus(&head,&tail,&item); // return 0; }