Skip to content

Instantly share code, notes, and snippets.

//*********************************************************************
// CODE FILENAME: RobertsAssn3prog.cpp
// DESCRIPTION: This program reads data from a text file which contains
// 3 fields: vehicle type, license plate, & fees. The vehicle type is
// ignored and the plate & fees are stored in parallel arrays. The arrays
// are then sorted and saved to a text file. The available license plates
// are then shown to the user with the option to choose a plate, or type
// Q to quit. Loop continues until user selects Q. That license is then
// searched and if found, display the fees, if not display message and
// ask user to choose a plate again.
//*********************************************************************
// CODE FILENAME: RobertsAssn3prog.cpp
// DESCRIPTION: This program reads data from a text file which contains
// 3 fields: vehicle type, license plate, & fees. The vehicle type is
// ignored and the plate & fees are stored in parallel arrays. The arrays
// are then sorted and saved to a text file. The available license plates
// are then shown to the user with the option to choose a plate, or type
// Q to quit. Loop continues until user selects Q. That license is then
// searched and if found, display the fees, if not display message and
// ask user to choose a plate again.
//*********************************************************************
// CODE FILENAME: RobertsAssn3prog.cpp
// DESCRIPTION: This program reads data from a text file which contains
// 3 fields: vehicle type, license plate, & fees. The vehicle type is
// ignored and the plate & fees are stored in parallel arrays. The arrays
// are then sorted and saved to a text file. The available license plates
// are then shown to the user with the option to choose a plate, or type
// Q to quit. Loop continues until user selects Q. That license is then
// searched and if found, display the fees, if not display message and
// ask user to choose a plate again.