/* Name: Brennen Cox
Project: A3C1P2
Description: Stating cost of flight to New York from Knoxville.*/
#include <iostream>
using namespace std;
int main()
{
char day;
int time;
cout << "Press return after entering a answer.\n";
cout << "Please enter the type of day your flight leaves on, b for business day, w for weekend, or h for holiday.";
cin >> day;
if (day == 'b'){
cout<<"Please enter the time the fight left 1-24.";
cin>>time;
if (6<= time <= 17)
cout<< "The total cost, per passenger, is $400.\n";
else
cout<< "The total cost, per passenger, is $350.\n";
}
else if (day == 'w')
cout<< "The total cost, per passenger, is $300.\n";
else if (day == 'h')
cout<< "The total cost, per passenger, is $225.\n";
return 0;
}