use C++ language Books were bks and Robin Hood was Rbinhd. Little Goody Two Shoes lost her Os and so did Goldilocks, and the former
Answered step by step
Verified Expert Solution
Question
49 users unlocked this solution today!
use C++ language
Books were bks and Robin Hood was Rbinhd. Little Goody Two Shoes lost her Os and so did Goldilocks, and the former became a whisper, and the latter sounded like a key jiggled in a lck. It was impossible to read "cockadoodledoo" aloud, and parents gave up reading to their children, and some gave up reading altogether.... - James Thurber, The Wonderful O, 1957 In James Thurber's children's story The Wonderful O, the island of Ooroo is invaded by pirates who set out to banish the letter from the alphabet. Such censorship would be much easier with modern technology. Write a program that asks the user for an input file, an output file, and a string of letters to be eliminated. The program should then copy the input file to the output file, deleting any of the letters that appear in the string of censored letters, no matter whether they appear in uppercase or lowercase form. As an example, suppose that you have a file containing the first few lines of Thurber's novel, as follows: TheWonderfulo.txt Somewhere a ponderous tower clock slowly dropped a dozen strokes into the gloom. Storm clouds rode low along the horizon, and no moon shown. Only a melancholy chorus of frogs broke the soundlessness. If you run your program with the input BanishLetters Input file: TheWonderfulo.txt Output file: TheWnderful.txt Letters to banish: o it should write the following file: TheWnderful.txt Smewhere a pnderus twer clck slwly drpped a dzen strkes int the glm. Strm cluds rde lw alng the hrizn, and n mn shwn. nly a melanchly chrus f frgs brke the sundlessness. If you try to get greedy and banish all the vowels by entering aeiou in response to the prompt, he contents of the output file would be Smwhr pndrs twr clck slwly drppd dzn strks nt th glm. Strm clds rd lw lng th hrzn, nd nmn shwn. nly mlnchly chrs f frgs brk th sndlssnssStep by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1

Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
100% Satisfaction Guaranteed-or Get a Refund!
Step: 2Unlock detailed examples and clear explanations to master concepts

Step: 3Unlock to practice, ask and learn with real-world examples

See step-by-step solutions with expert insights and AI powered tools for academic success
-
Access 30 Million+ textbook solutions.
-
Ask unlimited questions from AI Tutors.
-
Order free textbooks.
-
100% Satisfaction Guaranteed-or Get a Refund!
Claim Your Hoodie Now!

Study Smart with AI Flashcards
Access a vast library of flashcards, create your own, and experience a game-changing transformation in how you learn and retain knowledge
Explore Flashcards