WSQ03 Fun with numbers (Operators)

Now I´m going to use the operators in C++.

imagenes de matematicas (1)

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:

Captura de pantalla 2016-01-22 a las 10.55.55 a.m.

Then, when I run it shows this:

Captura de pantalla 2016-01-22 a las 10.56.30 a.m.

Captura de pantalla 2016-01-22 a las 10.56.30 a.m.

CC BY-SA 4.0 WSQ03 Fun with numbers (Operators) by josequirogablog is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.