Question: Please Write a program in C++ as instructed in the image. here the below is the content of List.txt Alabama Alaska Arizona Arkansas California Colorado

 Please Write a program in C++ as instructed in the image.

Please Write a program in C++ as instructed in the image.

here the below is the content of List.txt

Alabama

Alaska

Arizona

Arkansas

California

Colorado

Connecticut

Delaware

District Of Columbia

Florida

Georgia

Hawaii

Idaho

Illinois

Indiana

Iowa

Kansas

Kentucky

Louisiana

Maine

Maryland

Massachusetts

Michigan

Minnesota

Mississippi

Missouri

Montana

Nebraska

Nevada

New Hampshire

New Jersey

New Mexico

New York

North Carolina

North Dakota

Ohio

Oklahoma

Oregon

Pennsylvania

Rhode Island

South Carolina

South Dakota

Tennessee

Texas

Utah

Vermont

Virginia

Washington

West Virginia

Wisconsin

Wyoming

American Samoa

District of Columbia

Guam

Northern Mariana Islands

Puerto Rico

United States Virgin Islands

Write a program that uses functions to read and process the data from a formatted file The program should contain the following exact functions 1. A Readconcepts function that reads a list of concepts/strings from the LIST.txt text file (one concept per line), stores them into an array of strings, and count how many concepts are in the list. The function should have two parameters (the array of concepts and a reference to the number of concepts in the array and should not return a value. Declare SIZE as a global constant (declared before all functions) initialized with a value large enough to hold all values from the file void ReadConcepts (string ArrayConcepts [SIZE], int& NumberConcepts) 2. An EnterLetter function that prompt the user to enter a letter from A to z or a to z, lets the user input a character, validates it (check if it is a valid letter), and if it is not, repeats the input of the character until it is a valid letter and returns it. The function should not have any parameters and should return the letter. char EnterLetter () 3. A PrintConcepts function that prints all the concepts from the array. The function should receive the array of concepts and the number of concepts as parameters and should not return any values void PrintConcepts (string ArrayConcepts [SIZE], int NumberConcepts) 4. A PrintConceptsWithoutSpaces function that prints all the concepts from the array that do not contairn spaces. The function should receive the array of concepts and the number of concepts as parameters and should not return any values void PrintConceptsWithoutSpaces (string ArrayConcepts [SIZE], int NumberConcepts) 5. A PrintConceptsLetter function that prints all the concepts from the array that contain the letter A (small or large caps). The function should receive the array of concepts and the number of concepts and the Letter as parameters and should not return any values void PrintConceptsLetter (char Letter, string ArrayConceptS [SIZE], int NumberConcepts) 6. A main function that calls the ReadConcepts function to read the concepts from the file and store thenm in ArrayConcepts and determine the NumberConcepts, calls the EnterLetter function to enter a letter from the user, and then calls the PrintConcepts, PrintConceptsWithoutSpaces, and PrintConceptsLetter for the letter returned by EnterLetter) for the ArrayConcepts and NumberConcepts variables to print the concepts in various ways int main () You need to create and submit the following 2 files - The entire C++ code for the algorithm in Visual Studio 2015 (call the project [YourNamel-Assignment3 Archive the project folder using ZIP and submit the [YourNamel-Assignment3.zip ZIP archive a screenshot of the entire program output (if it does not fit on one screen take multiple screenshots of the output window) and paste it/them into a Word document called [YourNamel-Assignment3- Screenshot.docx

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!