Write a c++ program that will ask the user to input a file name, open that file (exit the program after 3 failed attempts), and read the contents. The program will then find every word starting with...

Write a c++ program that will ask the user to input a file name, open that file (exit the program after 3 failed attempts), and read the contents. The program will then find every word starting with an "*", and prompt the user to input a word, and replace what is after the asterisk with that input. After all the data is processed, output the new text. (I had the most trouble outputting the text with the same number of lines as the original file had.)

May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here