Blog Post #91: Getting Data Back: The return Statement
Up to this point, our custom functions have performed actions—they’ve printed banners or messages to the console. They do things, but they don’t give us anything back that we can store and use later in our program. What if we want a function to perform a calculation and hand us the result? How do we … Read more