The functions allow to structure programs in segments of code to perform individual tasks.

In this program I´m going to do the same as in the WSQ03, but using functions.

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.

I will leave the code on GitHub, here is the **link.**

TC101

WSQ08

WSQ08 Functions by josequirogablog is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.