130k views
3 votes
Develop a program that asks the user to enter a capital for a U.S. state. Upon receiving the user input, the program reports whether the user input is correct. For this application, the 50 states and their capitals are stored in a two-dimensional array in order by state name. Display the current contents of the array then use a bubble sort to sort the content by capital. Next, prompt the user to enter answers for all the state capitals and then display the total correct count. The user's answer is not case-sensitive.

User Jim Maas
by
4.8k points

1 Answer

2 votes

Answer:try redoing everything step by step and see if that solves it

Step-by-step explanation:

User Tonyyeb
by
4.4k points