CS1150 (Fall 2012, Section 4): Programming Assignment 14

File Input and Output


Instructions

  1. In this assignment, add an option to your menu to write the fleet information out to a file. If the user chooses this option, iterate through each car in the fleet and write a single line for each describing the car to a specified file (i.e.: prompt for this).
  2. If the file exists, do not simply write over it. Instead, prompt the user asking them whether they should overwrite the file. Put the entire dialog in a helper method.
  3. The information on a car should have the following format:

Deliverables

Submit as per the syllabus.