WSQ05 – On to functions.

--Originally published at August-December 2017 – Blogging through my thoughts

Hello programmers. This is my fifth program using Atom and ubuntu bash on windows. This is a very important code , because I did all of the math operations using functions. I defined my own functions, I didn´t use libraries, so it is a user-defined function, which groups code to perform a specific task and that group of code is given a name(identifier).

When the function is invoked from any part of program, it all executes the codes defined in the body of function.

I did WSQ01 – fun with numbers again , but now I needed to ask the user for the input and then call each function to calculate the answer for each of the parts.

Hope you enjoy the code and find it useful.

WSQ05FUNCTIONS
Atom functions
WSQ05CODE
Atom code
WSQ05UBUNTU
Ubuntu commands
WSQ05MASTERY
Mastery topics

 

See you!