Question: In c++ Looking at the data.txt data file.Could use help with drawing a picture of how the nodes should be linked together.Arrange the nodes so
In c++
Looking at the data.txt data file.Could use help with drawing a picture of how the nodes should be linked together.Arrange the nodes so that none of the pointer lines cross each other.
Enter file name: Data.txt
SundayMonday 10
SundayTuesday 20
MondayThursday 30
TuesdayFriday 30
Wednesday Monday 20
Wednesday Tuesday 10
ThursdaySunday 50
FridaySunday 60
ThursdayWednesday 10
FridayWednesday 20
ThursdaySaturday 20
FridaySaturday 10
The program reads from each line a source node, target node, and distance.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
