Fun with numbers WSQ03

Hello everyone!! This WSQ was simple, all about variables, the task is to ask the user for two integer numbers and calculate the following instructions:

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

Captura de pantalla 2016-02-09 a las 1.46.10 p.m.

If you search in youtube or google, you can find various examples about this, most of them are in english, but are very helpful, I will leave some ones here.

This one is in English http://www.lynda.com/C-tutorials/Defining-variables/182674/366529-4.html.

As always, the link for my code in GitHub

 

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