Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

help C++ Write a program that uses functions to read and process the data from a formatted file. The program should contain the following exact

image text in transcribed

help 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: 1. A ReadConcepts function that reads a list of concepts/strings from the LIST.tit 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 lSIZE), Int & Numberconcepts) 2. function that prompt the user to enter a letter from A to z ora to z, lets the user input An EnterLetter 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 Printconcepta (string Arrayconceptais148 ob:nces 4. A Printconceptswi thout Spaces function that prints ali the concepts from the array that do not contain spaces. The function should receive the array of concepts and the nomber of concepts as parameters and should not return any values. 5. A PrintConceptaLetr function that prints all the concepts from the rray that contain the letter (small or large caps).The function should receive the array of concepts and the number of concepts a Letter as parameters and should not return any vatues. function to read the concepts from the fil and store function to enter a em 6. A main function that calls the usersnsept in Arraycoacepts and determine the ucalls the from the user, and then calls the s (for the letter returned by in various for ithe and iables to print the concepts

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Question

What is a continuous improvement plan ? Explain

Answered: 1 week ago