AP Computer Science Principles
A return statement is used in a function to specify the value that should be returned when the function is called. It allows the function to send a value back to the code that called it.
congrats on reading the definition of Return Statement. now let's actually learn it.