3/ Capital Quiz Write a program that creates a map containing the U.S. states as keys, and their capitals as values. (Use the Internet to get a list of the states and their capitals.) The program...


For C++ please


3/ Capital Quiz<br>Write a program that creates a map containing the U.S. states as keys, and their capitals<br>as values. (Use the Internet to get a list of the states and their capitals.) The program<br>should then randomly quiz the user by displaying the name of a state and ask the user<br>to enter that state's capital. The program should keep a count of the number of correct<br>and incorrect responses. (As an alternative to the U.S. states, the program can use the<br>names of countries and their capitals.)<br>

Extracted text: 3/ Capital Quiz Write a program that creates a map containing the U.S. states as keys, and their capitals as values. (Use the Internet to get a list of the states and their capitals.) The program should then randomly quiz the user by displaying the name of a state and ask the user to enter that state's capital. The program should keep a count of the number of correct and incorrect responses. (As an alternative to the U.S. states, the program can use the names of countries and their capitals.)

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here