This problem was done in the earlier lab without functions. Your job is to do the same with some modifications and by using functions. C++
Using functions, write a program called FourQs.cpp that uses if/else statements to present the user with four (one of each operation) arithmetic problems, namely addition, subtraction, multiplication, and division. After each question, output "correct" or "incorrect" based on their answer, or words to that effect. Prompt the user for numbers and for the signs (+, -, *, /). You decide if you want to write one single function for all the operations together or separate one for each. Also, the choice of what the function(s) return and the type of parameters is left to you.
Example: Here's what the output screen should look like:
Solve these four arithmetic problems:
1 + 2 = 3
Good work – your answer is correct!
100 - 99 = 1
Good work – your answer is correct!
12 * 2 = 20
Nice job, but a better answer is 24.
20 / 4 = 5
Good work – your answer is correct!