Answered step by step
Verified Expert Solution
Question
1 Approved Answer
cannot use header vector, only iostream,stream and string may I also have a sample Input file and output file. she says to follow everything that's
cannot use header vector, only iostream,stream and string may I also have a sample Input file and output file. she says to follow everything that's on the paper.
Due Monday, September 24 String Processing Projeet: Find out how many times each English vowel appears in a file containing English text. Also output the English text with each vowel capitalized, so the vowels stand out. There are 5 vowels in English: 'A' or 'a', 'E' or 'e', I' or 'i', 'O' or 'o', 'U' or 'u'. You need 5 counters, one for each vowel. Follow Program Guidelines. Use string processing functions. Input: The input file contains an unknown number of lines of English text. Processing: The function main) will declare filestream and other variables, open files, and call functions to do the processing. Required functions are: I. A Boolean function is Vowel returns true if a character is a vowel; it returns false otherwise 2. A function processes the input file contents line by line, counting vowels and capitalizing them. 3. A function outputs the counter values for each vowel, with appropriate labels. Output: The output file will contain the input English text with each vowel capitalized, foilowed by the number of times each vowel appeared, with appropriate labels
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