Problem 304. Bottles of beer

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

43.94% Correct | 56.06% Incorrect
Last Solution submitted on Feb 13, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers2132

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!