Fun With Numbers

Ask the user for two integer values, then use those two values to calculate and show the following:

  • 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.

WSQ03

CC BY-SA 4.0 Fun With Numbers by ferespib is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.