C++ matrix of distance

Discussion in 'C++' started by c++beginner, Feb 27, 2012.

  1. c++beginner

    c++beginner New Member

    Joined:
    Feb 20, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Write a program which stores a matrix of distances between a set of cities in the UK (no more than 5 please). You should look these up using the Internet. The distances should be stored as a matrix (2-d array) of doubles. Your program should ask the user to input a pair of cities and then output the distance between them.
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    Done. What's your tutor's email address, then I can email it directly to him. Presumably I would get the credit instead of you, since I did the work?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice