Hello! This is in which we had to basically repeat what we did in WSQ03 but with the use of functions. I had problems again with the use of syntax, I freaked out but it was all about the semicolumns and symbols like those.

Remeber, when using functions, to declare the variables with the type you need. Int for whole numbers, Double for decimals etc. Also make sure the names you use to create your functions are not used in c++ language for some other thing, becuase is you do, you may have some problems.

 

Here is my code in GitHub:

https://github.com/ricardonewton/TC101/blob/master/ontofuntions

CC BY 4.0 #WSQ08 – On to Functions by Ricardo Newton is licensed under a Creative Commons Attribution 4.0 International License.