On To Functions #WSQ08

Hey there!
This time, we go back and do the homework WSQ03, Fun with Numbers, but this time, we have to use functions in each mathematical operations.
I will show you how to write the correct functions for each operation:
First of all, you have to call each function using int or float, and the write inside the function the variable you want to call and then the mathematical operation, returning to its function.

This is the code written in Atmo as editor:

And here is the program compiled in Cygwin as terminal:

And the same program using CodeBlocks in C++

Here is the code taken by GitHub.com

https://gist.github.com/DiegoNaterasPonce/ffa907ead210db2f9081

CC BY-SA 4.0 On To Functions #WSQ08 by Diego Nateras Ponce is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.