German Transportation Otto Bonn

The German transportation Otto Bonn is expanding his trucking business into Florida, with shipping centers in Daytona Beach, Gainesville, Jacksonville, Miami, Tallahassee, and Tampa. He has hired us as software consultants to create a computerized mileage chart for his truck drivers. Given any two of these cities, out program must display the approximate mileage between them.Following is the mileage information from road atlas between Florida cities:Daytona Beach to Gainesville: 97Daytona Beach to Jacksonville: 90Daytona Beach to Miami: 268Daytona Beach to Tallahassee: 262Daytona Beach to Tampa: 130Gainesville to Jacksonville: 74Gainesville to Miami: 337Gainesville to Tallahassee: 144Gainesville to Tampa: 128Jacksonville to Miami: 354Jacksonville to Tallahassee: 174Jacksonville to Tampa: 201Miami to Tallahassee: 475Miami to Tampa: 269Tallahassee to Tampa: 238Program requirement:Must use two-dimensional array
Must have menu-driven
Output looks like following:
Sample Run:To determine the mileage between two cities,Please enter the numbers of 2 cites from this menu:0 for Daytona Beach 1 for Gainesville2 for Jacksonville 3 for Miami4 for Tallahassee 5 for Tampa–> 2 5The mileage between those two cities is 201 miles.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.