Question: using JAVA write a program that prompts the user to enter a capital for state and the program reports whether the answer is correct. assume

using JAVA write a program that prompts the user to enter a capital for state and the program reports whether the answer is correct. assume the pair of 10 states and capitals are located in separate lines of "Capitals.txt" and the questions are displayed randomly. you can consider the following states and their capitals. {AL, montgomery},{DE,Dover} ,{FL,Tallahasee},{GA.ATlanta}

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!