Mapqwest Program

A cheap, dime-store imitation of a much better program

 

Overview:  In this program, you will ask the user for their current location and their destination.  Both points are represented by an ordered pair location on the screen (row, column).  The program will give the user “directions” on how to get from their location to the destination and show a map on the screen.

 

Specifics:

 

 

 

 

Starting Point:   (14, 18)

Destination:      (21, 70)

 

Directions:

Start by traveling south for 7 unit(s)

Turn east and travel 52 unit(s)

 

Total Distance = 59 unit(s)

 

At the end of this subroutine, have the user press m to see a map.  (Allow for upper case or lower case).  If they press m, the mapping subroutine is called.