Hi, everybody. Let’s see how I have done the WSQ08.

Basically, it was about doing the WSQ03 (post: https://hrglez.wordpress.com/2015/09/17/wsq03-having-fun-with-numbers/), but instead of doing each process in the main() function, you have to use an separate function for each process (one function for sum, another for the difference… you’ll see).

Here the image of my screen while working in this WSQ:

wsq08

I think that is all, it is easy as pie, If you do not understand how functions work, and how to create and call them, take a look of my post about it: https://hrglez.wordpress.com/2015/09/13/creating-and-calling-functions-c/

The main code: https://github.com/hrglez/TC1017/blob/master/WSQ08%20-%20Functions

Have a nice day!

CC BY 4.0 WSQ08, Using functions by hrglez is licensed under a Creative Commons Attribution 4.0 International License.