In this assignment we had to create a programm that gave you the result of a sum, difference, product, and division from 2 numbers that you typed.
So first I wrote the usual stuff of
#include <iostream>
using namespace std;
Then I asked my friend Miguel how to put the values that you type into the “x” & “y”. He told me that we need to use cin >> so the programm knows that you will give the value of that integer.
After that, I was all like pure algebra.
At the end, do not forget to write return 0, because we are using an int main function, so it need to be return 0, at the end.
Here’s also the link to my GitHub.
https://github.com/antonioangelm24/TC101/blob/master/WSQ03.cpp
#WSQ03 -Fun with numbers by antonioangelm is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.