+ 3
In a function, you have the posibility of returning a value. When you place the return statement, the loop stops and the value in return is printed.
13th Apr 2017, 6:54 PM
JRE
JRE - avatar