Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and pass it around.

Solution Stats

5649 Solutions

2271 Solvers

Last Solution submitted on Feb 06, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers2271

Suggested Problems

More from this Author39

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!