Name: ____________________________________________________ Alpha: _____________________

Describe help received: _________________________________________________________________

In this program, you'll make a calculator which handles three numbers and two operations, but DOES NOT worry about order of operations. For example:

```
taylor@kurt:~$ ./a.out
5+2*3
The answer is 21.
```

To do this, write two functions. The first will have the prototype `double calc(double, char, double)`

, where the char could be any of the basic math operators (`+`

,`-`

,`*`

,`/`

). So, `calc(4.1,'*',2)`

would return `8.2`

.

The second function will have the prototype `double calc(double, char, double, char, double);`

and will handle performing the entire three-number calculation. You should probably use your first function to make your job easier!

Turn in this cover sheet, your code, and a screenshot of your program running on `5+2*3`

and `5/2-4.5`

.