This activity has to have the same result as WSQ03, but with functions. It was not hard to do this activity, I didn’t have big problems, just some little details. But I did have one which I wasn’t expecting: I used the shortcuts of the operations as the first 3 letters to keep it simple. Product was “pro”, for example, but the problem came with the division, because “div” is used in C++ as a command, so when I tried to run in, Terminal read it as a command instead of a variable. When I realized that, I changed the variable for “divv” so it becomes a variable again. It ran perfectly after that.

CC BY 4.0 This activity has to have the same result as WSQ03, but with… by lowercase is licensed under a Creative Commons Attribution 4.0 International License.