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.

1070 correct solutions
1155 incorrect solutions

Last solution submitted on Apr 29, 2016

6 players like this problem

2 Comments

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