+ 1

I want to print 3,5,7,9,11 odd numbers! How to do it?

https://code.sololearn.com/cL1LuV5FY5Wm/?ref=app

24th Jun 2020, 1:52 PM
Ashik Ahmed
Ashik Ahmed - avatar
3 Respostas
+ 7
Ashik Ahmed The return statement returns the flow of the execution to the function from where it is called. This statement does not mandatorily need any conditional statements. As soon as the statement is executed, the flow of the program stops immediately and return the control from where it was called. The return statement may or may not return anything for a void function, but for a non-void function, a return value is must be returned. Syntax: return[expression];
24th Jun 2020, 6:14 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
24th Jun 2020, 4:42 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 1
Would you please explain me the last statement : return mod;?
24th Jun 2020, 1:57 PM
Ashik Ahmed
Ashik Ahmed - avatar