Question: use an input file MathInput.csv with instructions to perform math operation. Must use MathOp2 class for the calculations, all classes must be documented. I will

use an input file MathInput.csv with instructions to perform math operation. Must use MathOp2 class for the calculations, all classes must be documented. I will not accept any code that is not documented. Use exception handling to trap the errors.

* You can use Excel and enter the values below, one in each cell, then save the file as CSV

Here is a sample

2,+

6,+

9,-

10,*

=

4, /

5, *

6, -

=

The = indicates the end of the set (Must be in the first column)

The results should be something like this for the first set in the output file MathOutput.CSV

Add 2 total 2

Add 6 total 8

Subtract 9 total -1

Multiply 10 total -10

Number of elements = 4, Total = -10, Average = -2.5

********************************************

Divide 4 total 0

Multiply 5 total 0

Subtract 6 total -6

Number of elements=3, Total = -6, Average = -2

********************************************

Create a file with at least 10 sets

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!