Microbots How to make a Function

Why do we have functions? A function is a way for programmers to reuse code without having to retype the code. This is a big time saver, and it makes code more readable, that is if the function names are well selected. For my example I will use returntype = void This returntype specifies that the block of code will not return any value. Calling such a

%d bloggers like this: