Question: what is the difference between void and int in c++?
Answer: An int function is a “command” that will go off, do whatever its been coded to do and then, at the end, “return” to you with an integer. A void function is a command that will run off, do what its been coded to do, and then “return” to you with nothing.