Bottles of beer - MATLAB Cody - MATLAB Central

Problem 304. Bottles of beer

Difficulty:Rate

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.93% Correct | 56.07% Incorrect
Last Solution submitted on Jan 06, 2025

Problem Comments

Solution Comments

Show comments
MATLAB Without Borders: Connecting your projects with Python and other Open Source Tools.
On 27th February María Elena Gavilán Alfonso and I will be giving...
0
6

Problem Recent Solvers2199

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!
Go to top of page