Question: in c + + the first, second, third, or fourth time. Note that the output of your program will be two printed maps - an
in c the first, second, third, or fourth time. Note that the output of your program will be two printed
maps an outline of the United States map and the same outline with statescities superimposed
on it and the interactions between the user and your program.
Requirements
ASCII Map Generator:
The program must create a visual representation of the United States map using ASCII
characters. Each statecity should be represented with its corresponding label.
The map should be display on the terminalconsole maintaining the relative geograph
ical positions of the states.
User Interaction:
Implement a userfriendly interface that prompts the user to input the name of a state.
The program should handle both uppercase and lowercase inputs, and it should provide
error handling for invalid inputs.
State Information Retrieval:
Design your code with modular functions to enhance readability and maintainability.
Implement proper documentation and comments to explain the code logic and function
alities.
Data Structures:
Utilize appropriate data structures to store information about the states and their cor
responding details.
The only data structures that you are allowed to use for this programming assignment
are arrays andor vectors.
Error Handling:
Implement error handling mechanism to deal with invalid input and guide the user in
case of mistakes.
Your program should never terminate from an invalid name of a city. Instead, it ought
to "guess" what the user meant to type when searching for a city by providing a possible
answer or a list of possible answers.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
