Can anyone tell me how to use functions when a variable is to be passed to a function, but no variable is required to be returned. I assumed that you would use void (variable name); at the beginning of the function, but that just results in a heap of errors. Could someone show me an example, so I know the syntax? The program itself works fine with the code just lined up, but I want to break it up into functions.