Message from JavaScript discussions

December 2020

β€” 3 days, not a month, go on.. for loops are ideal, whiles are great too


calc = (wheelSize = 10) ->
crawlIncrement = 7
crawlDecrement = 3
totalDays = 0

while ++totalDays
# soultion here use if and break

return totalDays

β€” Forgive my inquisitiveness, but what should be the condition in the if statement?πŸ™

β€” Condition will decrement wheelSize or increment wheelSizePassed and compare it against zero or wheelSize

Message permanent page

β€” Ok,,,let me feed the editor that code and see what the js interpreter thinks about that.....

β€” Hello, If you need a web application, a website or the services of a software developer, please contact me. Thank you.

Message permanent page

β€” This is what the console thinks of your code, sir

β€” Eh, seems coding is not my path🀧

β€” Did you just copy-paste and run it?

β€” WheelSize++ seems to give an infinite loop, while wheelSize-- gives an output of 38 when the input is 42,,,,let me send the screen shot

Message permanent page

β€” This gives me an output of 38,,,and I want an output of 8 for an input of 42

β€” πŸ˜†πŸ˜†πŸ˜†try selling masks😷