MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn moreOpportunities for recent engineering grads.

Apply TodayGiven 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.

989 correct solutions
985 incorrect solutions

Last solution submitted on Jan 29, 2016

3 players like this problem

2 Comments

srujana vantikommu
on 22 May 2015

what is the problem in my solution? why it is showing error.

Brian Butler
on 14 Nov 2015

output is named 'remaining' and not 'y'

1 Comment

Lukas
on 9 Nov 2014

Did I miss the twist?

1 Comment

Sam
on 23 May 2012

D: What the ...
Hooray BEER! :D

8 Comments