Question: 41. Write a C++program that lists all the capitals for countries in a specific region of the world. Use an array of structs to store
41. Write a C++program that lists all the capitals for countries in a specific region of the world. Use an array of structs to store this information. The struct should include the capital, the country, the continent, and the population. You might include additional information as well, such as the languages spoken in each capital. To receive full credit, document your program, you must show the source code and the output of the program. You can take a screen shot of the program and the output and paste it in this document. Here is a sample output below: Country Capital Continent Population (Million) Costa Rica El Salvador Guatemala Honduras Nicaragua Panam San Jos Central America San Salvador Central America Ciudad de Guatemala Central America Tegucigalpa Central America Managua Central America Ciudad de Panam Central America 5.048 6.454 16.6 9.746 6.546 4.246
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
