For this activity we have to ask the user for two integer values, then use those two values to calculate and show the following:

  • The sum of the two numbers.
  • 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

[Some things are very weird of this code, for example the sign of the substraction and the sum.]

 42numbers

#WSQ01