Question: Problem Write a program in Java beginner that reads a comma delimited CSV file and prints all of the cities which reside in the Southern
Problem
Write a program in Java beginner that reads a comma delimited CSV file and prints all of the cities which reside in the Southern Hemisphere. Note, any latitude with a negative value is south of the equator.
Expected Output
The CSV file will look something like the one below. Note, there WILL BE a row with header titles.
City Country Latitude Longitude
Beijing China
Perth Australia
Port Moresby Papua New Guinea
Tokyo Japan
Your program must include the following line of code:
String path args; add code below this line add code above this line
The variable path allows for different text files to be sent to your program for testing. The TRY IT button below will send a test file to your program. You should see the following output:
The following cities are in the Southern Hemisphere: Perth, Port Moresby.
Where is the code visualizer?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
