Now I´m going to use the operators in C++.
You have to enter two numbers and the program will calculate:
- The difference of the two numbers.
- The product of the two numbers.
- The integer based division of the two numbers (so no decimal point). First divided by second.
- The remainder of integer division of the two numbers.
So I started creating the code, it looks like this:
Then, when I run it shows this:
2 comentarios en “WSQ03 Fun with numbers (Operators)”