Question: Input: Two files - one contains city data and the other contains road data. .city.dat: This file contains information about cities, where each line has

 Input: Two files - one contains city data and the other

Input: Two files - one contains city data and the other contains road data. .city.dat: This file contains information about cities, where each line has 5 attributes: City Number, City Code (2 letters), Full City Name, Population, and Elevation. .road.dat: This file contains information about roads, where each line has 3 attributes: Erom City, To City, and Distance. Note that all roads are assumed to be one-way String citiesFile String roadsFile Icity.txt"; \ roads.txt". "c:W I am getting an error that the directory or file not found. java.io.FileNotFoundException: c:// /city.txt (No such file or directory) How Do I set the path to the files

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!