Write Program C Calculate Optimum Route Points Entered User Output Efficient Points Take S Q37132728

Write a program in C++ to calculate the optimum route for pointsentered by the user. Output the most efficient points to take. Theshelves shown below are 10ft wide, 20 ft long, and are space 10 ftapart. Keep in mind a person must have to go around the storageshelves, to get to the next point. The person will start at the topof the first shelve and end at the top of the last shelve. Seediagram below.

Example: User inputs points, A, H, and C. The most efficientroute would be to go to points A, C, and then H.

Start End

Start

OR
OR

Leave a Comment

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