linux1[106] % a.out

Your Greeting & Explanation Go Here

Enter the name of the data file : vacationPlaces.dat



                         Transportation Chart

   Origin           Destination         Miles           Time
-------------------------------------------------------------------
Baltimore, MD       Lewes, DE           117.0      2 hrs and 40 min
Lewes, DE           Cape_May, NJ         22.2      1 hrs and 19 min
Cape_May, NJ        New_York, NY        157.0      2 hrs and 48 min
New_York, NY        Mystic, CT          135.0      2 hrs and 39 min
Mystic, CT          Plymouth, MA        103.0      1 hrs and 55 min
Plymouth, MA        Freeport, ME        162.0      2 hrs and 56 min
Freeport, ME        Bar_Harbor, ME      158.2      2 hrs and 58 min
Bar_Harbor, ME      Quebec, QC          281.8      6 hrs and 18 min
Quebec, QC          Montreal, QC        166.0      3 hrs and  6 min
Montreal, QC        Ottawa, ON          124.0      2 hrs and  4 min
Ottawa, ON          Watertown, NY       127.1      2 hrs and 17 min
Watertown, NY       Rochester, NY       144.9      3 hrs and 43 min
Rochester, NY       Niagara, NY         102.0      2 hrs and 33 min
Niagara, NY         Corning, NY         147.0      3 hrs and  3 min
Corning, NY         Lititz, PA          204.0      4 hrs and  4 min
Lititz, PA          Baltimore, MD        79.8      2 hrs and 22 min
-------------------------------------------------------------------
                            Totals     2231.0     46 hrs and 45 min





                                 Cost Chart

   Origin       Destination        Attraction          Nights  Food &  Admission
                                                               Lodging  & Misc. 
--------------------------------------------------------------------------------
Baltimore, MD   Lewes, DE       Ferry                     0      0.00     0.00
Lewes, DE       Cape_May, NJ    Victorian_Houses          1    290.00    43.50
Cape_May, NJ    New_York, NY    Statue_of_Liberty         1    179.00    34.00
New_York, NY    Mystic, CT      Mystic_Seaport            1    179.00    61.00
Mystic, CT      Plymouth, MA    Plymouth_Rock             0      0.00     0.00
Plymouth, MA    Freeport, ME    L_L_Bean                  1    165.00     0.00
Freeport, ME    Bar_Harbor, ME  Acadia_Nat'l_Park         2    500.00     0.00
Bar_Harbor, ME  Quebec, QC      Chateau_Frontenac         1    177.00    16.00
Quebec, QC      Montreal, QC    Notre-Dame_Basilica       1    312.00    20.00
Montreal, QC    Ottawa, ON      Parliament_Hill           1    207.00    16.00
Ottawa, ON      Watertown, NY   Thousand_Islands          1    219.00    73.00
Watertown, NY   Rochester, NY   Nat'l_Museum_of_Play      1    209.00    24.00
Rochester, NY   Niagara, NY     Niagara                   1    239.00    34.00
Niagara, NY     Corning, NY     Corning_Museum_Of_Glass   1    159.00    22.50
Corning, NY     Lititz, PA      PA_Dutch_Country          1    139.00     0.00
Lititz, PA      Baltimore, MD   Home                      0      0.00     0.00
--------------------------------------------------------------------------------
                                        Totals           14   2974.00   344.00

Enter your vehicle's gas mileage in miles per gallon) : 26.5

Enter the estimated price of gas per gallon : 2.65


Driving a vehicle that uses 26.50 miles per gallon,
This 2231.0-mile, 15-day trip will cost:

				Food and Lodging     $ 2974.00
				Admission & Misc     $  344.00
				        Gasoline     $  223.10
				-----------------------------
				           Total     $ 3541.10