Display a friendly greeting to the user Prompt the user for the name of a file s
ID: 3544701 • Letter: D
Question
- Display a friendly greeting to the user
- Prompt the user for the name of a file specifying a graph
- Accept that file name Attempt to open the file
- On failure, notify the user and exit
- Read the data from the file
- Create the Adjacency matrix
- Display the Adjacency Matrix
- Create the Path Matrix
- Display the Path Matrix
- *Use Warshalls Algorithm
Test Files "testVert.txt" 1 2 3 4 5 6 7 8 9 "testEdge.txt" (1,2) (2,6) (6,2) (5,1) (6,5) (3,2) (6,3) (3,7) (8,7) (9,9) Points will go to on who follows speculation, posts code on question, and provides comments as well. I will NOT rate or give points to anyone who trys to redirect, give code from another language, or provide code snippets.
Test Files "testVert.txt" 1 2 3 4 5 6 7 8 9 "testEdge.txt" (1,2) (2,6) (6,2) (5,1) (6,5) (3,2) (6,3) (3,7) (8,7) (9,9) Points will go to on who follows speculation, posts code on question, and provides comments as well. I will NOT rate or give points to anyone who trys to redirect, give code from another language, or provide code snippets.
Explanation / Answer
Roger that i am on it . i hope u rate me :) cheers