// Filename: airplaneDriver.cpp
// Author: Your Name  <you9999@students.rowan.edu>
// CS&P Exam 2
// Description: The driver program for the Airplane Class
// Last Changed: April 4, 2005

#include <iostream>
#include <cstdlib>
#include "airplane.h"
#include "airplane.cpp"
using namespace std;


int main()
{
	/* Start of Section 3-1
	// Section 3-1
	cout << "Section 3-1" << endl;
	Airplane a1(5, 50, 300);
	Airplane a2(-15, -1, 500);
	a1.printManifest( );
	a2.printManifest( );
	End of Section 3-1 
	*/

	
	/* Start of Section 3-2
	// Section 3-2
	cout << "Section 3-2" << endl;
	Airplane a3(10, 20, 30);
	Airplane a4(12, 10, 50);
	cout << "There are " << a3.getSeatsAvailable( ) << " seats available on plane a3" << endl; 
	cout << "There are " << a4.getSeatsAvailable( ) << " seats available on plane a4" << endl;
	End of Section 3-2 
	*/

	/* Start of Section 3-3
	// Section 3-3
	cout << "Section 3-3" << endl;
	Airplane a5(10, 50, 325);
	Airplane a6(12, 10, 50);
	Airplane a7(10, 40, 325);
	a5.bumpToFirstClass( );
	a5.printManifest( );
	a6.bumpToFirstClass( );
	a6.printManifest( );
	a7.bumpToFirstClass( );
	a7.printManifest( );
	
	End of Section 3-3 
	*/
	
	/* Start of Section 3-4
	// Section 3-4
	cout << "Section 3-4" << endl;
	Airplane a8(6, 31, 214);
	a8.printManifest( );
	End of section 3-4 
	*/

	return EXIT_SUCCESS;
}


