Question: Create a function that will take in 3 arguments. 2 of the arguments should be numeric and the other should be a math operator (+,

Create a function that will take in 3 arguments. 2 of the arguments should be

numeric and the other should be a math operator (+, -, *, /, or %) based on the input

you should return the answer after the operation is performed on the 2 integers.

(hint: parseInt() should be used)

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!