The name of the input file is given explicitly in the case study code. Write a function that prompts for and inputs the file name. The file should be a parameter of the function. The function should also have a Boolean parameter through which it returns false if the input file cannot be found after giving the user three tries to enter a correct file name. Have it return true if the file is opened properly. Change the code in main to use this function.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.