(Guessing the capitals) Write a program that repeatedly prompts the user to enter capital for a state, as shown in Figure 9.22(a). Upon receiving the user input, the program reports whether the answer is correct, as shown in Figure 9.22(b). Assume that 50 states and their capitals are stored in a two-dimensional array, as shown in Figure 9.23. The program prompts the user to answer all ten states' cap itals and displays the total correct count.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.