Question: Hello , so im working on this code, but i keep failing at it. I can't quite figure out what im doing wrong. i would

 Hello , so im working on this code, but i keep

Hello , so im working on this code, but i keep failing at it. I can't quite figure out what im doing wrong. i would highly appreciate if someone could help me make this code.

ASSIGNMENT 3 Assignment 3 tests your knowledge of functions (Chapter 6), strings (Chapter 7) and arrays (Chapter 8) in C++. Write a program that uses functions to read and process the data from a formatted file. The program should contain the following exact functions (exact name, parameters names, parameters type, parameter order, returned values, functionality and no global variables or concepts not studied in class) in this exact order: 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 100 strings called ArrayConcepts, and count how many concepts are in the list and store in the reference parameter Number Concepts. 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. 2. A PrintAllConcepts function that prints a message "The concepts are: " and, on separate lines, prints all the concepts from the array, one concept per line. The function should receive the array of concepts and the number of concepts as parameters and should not return any values. 3. An Enterword function that prompt the user to enter a string with at least 2 characters, lets the user input a string, validates it (check if it has at least 2 characters - its length is at least 2), and if it is not, repeats the input of the string until it is a valid (has at least 2 characters) and returns it. The function should not have any parameters and should return the string. 4. A PrintConceptsWord function that a message "The concepts containing WORD are: " (replace WORD with the value from the word parameter) and prints all the concepts from the array that contain an occurrence of the exact string word, one concept per line. The function should receive the array of concepts Arrayconcepts, the number of concepts NumberConcepts, and the word to search for word as parameters and should not return any values. * 5. A PrintConceptsWithoutWord function that a message "The concepts that do not contain WORD are: * (replace WORD with the value from the word parameter) that prints all the concepts from the array that do not contain the exact string word, one concept per line. The function should receive the array of concepts ArrayConcepts, the number of concepts Number Concepts, and the word to search for Word as parameters and should not return any values. 6. A SortConcepts function that sort the array using the selection sort method (from the textbook and practice exercises), without using any predefined functions or other sorting methods. The function should receive the array of concepts Arrayconcepts, the number of concepts Number Concepts as parameters and should not return any values. 7. The main function should do all of the exact following in this order: Declare an array of strings called ArrayConcepts and an integral variuable Number Concepts Call the Readconcepts function to read the concepts from the file and store them into the array ArrayConcepts and compute the NumberConcepts of concepts, ili. Call the PrintAllConcepts for Arrayconcepts and Number Concepts iv. Call EnterString for Arrayconcepts and NumberConcepts to enter a Word Call PrintConceptsword for ArrayConcepts and Number Concepts and word above Call PrintConceptsWithout Word for ArrayConcepts, Number Concepts, and word vii. Call the sort Concepts to sort the ArrayConcepts and viii. Call PrintAllConcepts again to print the sorted Arrayconcepts. You should write the program in Visual Studio 2019 using only concepts learned in class so far (Chapters 1 to 8, so, without data structures, pointers, and any other concepts not studied in class so far). You need to create and submit the following exact 2 files (names, functionality, and format, not archived): 1. YourName-Assignment3.cpp C++ source code file for the algorithm 2. Your Name-Assignment3-Screenshot.docx screenshots document containing screenshots of your entire code in Editor window and entire program output in Output window (if it does not fit on one screen or cannot be easily read, take multiple screenshots of the code window and of the output window) i. ii. V. vi. avoid Read Concepts (string Arrayconcepts[100], int Number Concepts) void PrintAllConcepts (string ArrayConcepts[100], int Number Concepts) string EnterString() *void Print ConceptsWord (string ArrayConcepts [100], int NumberConcepts, string Word) Svoid Print ConceptsWithout Word (string ArrayConcepts [100], int Number Concepts, string Word) void Sort Concepts (string ArrayConcepts [100], int Number)

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!