Provide a makefile, called makefile, that will create both of your executables. All other work must be original. Submit ALL the files that are needed to build your executables. Note my executables will be made available and will be announced on the newsgroup when available. You are to write a program called bags that simulates the actions of luggage handling for a large aircraft.
Luggage is loaded into containers as the luggage arrives.
When a container is full, or there is no more luggage, it is loaded into the aircraft. At the destination, the containers are unloaded with the last on being the first off. As each container is unloaded its bags are unloaded in the same order as they were loaded, i.e., last on being the last off. You are to write a program that takes a command line parameter of filename followed by an integer. The integer on the command line will indicate the number of bags each container will hold.