

In this activity, “Fun With Numbers”, what I did is:
I divided every mathematical operation to do it by parts, one by one. First, I defined the variables “a”, “b”, and “c”, which are the three values we need; the two integers and the result. I used “cout” to ask for the two integers, and then I wrote the code for the operation. “A + B = C” A and B are the numbers the user has to write, and C is the result, so I used “cout” to state that certain number was the result, showing text and the result of “C”. Then, I did the same for the other operations, I just changed the sign of what I wanted it to show. “ -, * and /” instead of “+”.
At the beginning I had problems with the sum, and I kept changing some things until I got it right (I had some punctuation points wrong, mostly the “;”), and once I got that right, I could complete the rest without a problem.
In this activity, “Fun With Numbers”, what I did… by lowercase is licensed under a Creative Commons Attribution 4.0 International License.