Question
C++ You'll develop a program in C++ using the knowledge in chapters 11 to 14 to ask the user for a specific year between 1600
C++
You'll develop a program in C++ using the knowledge in chapters 11 to 14 to ask the user for a specific year between 1600 and 2023. The program will return the Era in the History of the United States that year is in.
To get the information for the Eras, your program will need to create an array of 3 columns and the number of rows necessary to load the information from the UnitedStatesEras.txt Download UnitedStatesEras.txt file and load that file into the array.
Once the file is loaded, you will need to ask the user for the year that he/she wants to query and then display the Era the year belongs to on the screen.
Afterwards, you will ask the user if he wants to ask for another year. If the user responds Yes, you will ask for the year and repeat the process. If the user responds No, the program will end.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started