Odd numbers and return.how do I do this | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Odd numbers and return.how do I do this

countOddFromZeroToNum function get argument num,the argument 'num' is positive number. The function Returns the amount of the odd numbers from 0 to num(inclusive). It's starting like this: const countoddfromzerotonum=(num)=>{

26th Jul 2022, 4:29 PM
k gready
k gready - avatar
4 Answers
0
Sorry it does help.i have the use the const that exists if u can explain me how that will be great
26th Jul 2022, 5:41 PM
k gready
k gready - avatar
26th Jul 2022, 4:40 PM
k gready
k gready - avatar