pub5 - % % pub5 - multiple lines w/single train, multiple...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
% % pub5 - multiple lines w/single train, multiple passengers % === Lines === Red, Glenmont, Silver Spring, Fort Totten, Union Station, Gallery Place, Metro Center, Bethesda, Shady Grove Green, Greenbelt, College Park, Fort Totten, Gallery Place, L'Enfant Plaza, Branch Ave Yellow, Fort Totten, Gallery Place, L'Enfant Plaza, Pentagon, Airport, King Street, Huntington Orange, New Carrolton, Stadium-Armory, Eastern Market, L'Enfant Plaza, Smithsonian, Metro Center, Foggy Bottom, Rosslyn, Ballston, Vienna Blue, Largo Town Center, Stadium-Armory, Eastern Market, L'Enfant Plaza, Smithsonian, Metro Center, Foggy Bottom, Rosslyn, Arlington Cemetery, Pentagon, Airport, King Street, Franconia-Springfield === Trains === Red=1 Green=1 Yellow=1 Orange=1 Blue=1 === Passengers === Amy, College Park, Gallery Place Bob, Silver Spring, Bethesda Chaz, Union Station, Fort Totten, College Park Dave, Silver Spring, Metro Center, Ballston === Output === Train Blue 1 entering Largo Town Center Train Orange 1 entering New Carrolton Train Green 1 entering Greenbelt Train Yellow 1 entering Fort Totten Train Red 1 entering Glenmont Train Yellow 1 leaving Fort Totten Train Green 1 leaving Greenbelt Train Orange 1 leaving New Carrolton Train Blue 1 leaving Largo Town Center Train Red 1 leaving Glenmont Train Yellow 1 entering Gallery Place Train Green 1 entering College Park Train Orange 1 entering Stadium-Armory Train Blue 1 entering Stadium-Armory Train Red 1 entering Silver Spring Amy boarding train Green 1 at College Park Bob boarding train Red 1 at Silver Spring Dave boarding train Red 1 at Silver Spring Train Red 1 leaving Silver Spring Train Yellow 1 leaving Gallery Place Train Green 1 leaving College Park Train Orange 1 leaving Stadium-Armory Train Blue 1 leaving Stadium-Armory Train Red 1 entering Fort Totten Train Yellow 1 entering L'Enfant Plaza Train Orange 1 entering Eastern Market Train Blue 1 entering Eastern Market Train Green 1 entering Fort Totten Train Orange 1 leaving Eastern Market Train Blue 1 leaving Eastern Market Train Yellow 1 leaving L'Enfant Plaza Train Green 1 leaving Fort Totten
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Train Red 1 leaving Fort Totten Train Orange 1 entering L'Enfant Plaza Train Blue 1 entering L'Enfant Plaza Train Green 1 entering Gallery Place Train Red 1 entering Union Station Train Yellow 1 entering Pentagon Amy leaving train Green 1 at Gallery Place Chaz boarding train Red 1 at Union Station Train Red 1 leaving Union Station Train Yellow 1 leaving Pentagon Train Green 1 leaving Gallery Place Train Orange 1 leaving L'Enfant Plaza Train Blue 1 leaving L'Enfant Plaza Train Red 1 entering Gallery Place Train Green 1 entering L'Enfant Plaza Train Orange 1 entering Smithsonian
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/02/2010 for the course CMSC 330 taught by Professor Staff during the Spring '08 term at Maryland.

Page1 / 6

pub5 - % % pub5 - multiple lines w/single train, multiple...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online