Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SCII Map Generator: The program must create a visual representation of the United States map using ASCII characters. Each state / city should be represented

SCII Map Generator:
The program must create a visual representation of the United States map using ASCII
characters. Each state/city should be represented with its corresponding label.
The map should be display on the terminal/console, maintaining the relative geograph-
ical positions of the states.
2. User Interaction:
Implement a user-friendly 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.
3. 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.
4. 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 and/or vectors.
5. 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.
2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions