Your Status: Logged out Log in

Modelling Motorway Toll Charging  

Member rating: No Rating | Words: | Submitted: Thu Jul 11 2002

Page Preview
Preview
Previous 1 of 7 Next

On the left is an image preview of every page of this document, and below are the first 150 words with formatting removed:

Computer Science 111 Third Coursework Problem Motorway Toll Charging Problem The M111 is a newly opened toll motorway, with eight junctions at which the entry and exit of vehicles from the M111 is monitored. I must design and implement a program that can read the tolls data from a file and process the information to produce a table of users for that week and a summary. Form of Data Input tollsinfo file input Gravelly L123ABC J 23 15 30 Ashton ABN1123 J 11 0 56 . . . . . . . . . . . . . . . . . . . . . . . . Fratton L123ABC L 1 12 31 Form of Data Output (Results) Registration trips in wk tolls due speeding violations total due Number serious dangerous _______________________________________________________________ L123ABC 7 11.76 1 0 31.76 ***********************Summary*********************** Total revenue for week was £1129.23 Total number of different users was 24 Total number of peak journeys was 45 Total off...

Get instant access



  • Instant, unlimited access to our documents in full
  • Swap your work for free access, or pay £4.99
  • To see the full version of this document and 146,871 others
Register Now
OR

Receive email updates for this category



  • Simply tell us your email address and receive a weekly Study Help Email for FREE
  • Receive 3 FREE essay views with each email
  • Get all the latest essays from Coursework.Info & discussion from TheStudentRoom.co.uk