This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Lab 20: Plane Monitoring System Last Modified 03/08/2009 Key Concepts: getline, accessing characters in strings, review (methods, files, loops) Suppose a monitoring station records airplanes that pass through the airspace in its vicinity. Equipment at the station is periodically recording each plane that passes through and logging activity. Suppose the station is on a Cartesian coordinate system at the origin and the monitoring equipment can see and log planes up to 9 units away vertically and/or horizontally. Coordinates in the positive y-direction denote north, while coordinates in the positive x-direction denote east. The system outputs a line of text for each observation of a plane that has passed by (0, 0). It includes: An alphanumeric ID for the plane, consisting of a 5 letters or digits. A space. The x-coordinate of the plane at the time of observation. This takes up exactly two locations: one for a negative sign if applicable (blank otherwise) and one for a one-digit representation of how many units...
View Full Document
This document was uploaded on 02/10/2011.
- Fall '10