There was no problem running the code.
It showed all the results successfully.
Initially, beerNum is assigned the value 99.
Then a condition is set in the while loop when beerNum is greater than 0, to evaluate if loop when beerNum is equal to 1.
It prints some text in the mid.
Decrements the value 99 stored in the beerNum by 1.
Again checks whether beerNum is greater than 0 in the if condition, prints some text when true, when false it prints some other text.
That was it!