DEV Community

Discussion on: Daily Challenge #111 - 99 Bottles of Beer

Collapse
 
konvio profile image
Vitaliy Kononenko

It looks like number *= 2 at the end of the loop should be replaced with number += 1, because the number of removed bottles on each iteration increases by 1, not doubles.

Collapse
 
kesprit profile image
kesprit

It's right ! I do that too fastly. Thank you for your attention.