Welcome to Westonci.ca, where curiosity meets expertise. Ask any question and receive fast, accurate answers from our knowledgeable community. Discover solutions to your questions from experienced professionals across multiple fields on our comprehensive Q&A platform. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our platform.

What is the purpose of a return statement?

a
to pass a value from inside a function to the main program

b
to print a value to the user

c
to go back to the beginning of a loop

d
to begin printing on a new line

Sagot :

What is the purpose of a return statement?

a - to pass a value from inside a function to the main program