Exercise 7 and 8.
I'm having trouble understanding the return statement. In the exercise, it defines it as "The return keyword simply gives the programmer back the value that comes out of the function. So the function runs, and when the return keyword is used, the function will immediately stop running and return the value." What I'm assuming is that the return statement just keeps the value within the function until the function is called again later.
Please explain it in layman's terms so I can understand it better. Thank You.
Replace this line with your code.