Question: You are going to create a class with two methods, that will open a text file for reading and writing. Use exception handling to trap
You are going to create a class with two methods, that will open a text file for reading and writing. Use exception handling to trap the errors. Modify the prior program and ask the user Do you want to save the results (Y/N)? If the answer is yes then you will save the results into a file name Math_Results.csv in this format X + Y = Z and so on. Also you will ask the user do you want to review the results (Y/N) If the answer is yes, then display the content of Math_Results.csv Please note that these user questions are in addition to the questions from the prior weeks. *Note, you can open the CSV file with Excel.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
