Fixed Inconsistency in grammar

This commit is contained in:
lunarised 2019-03-11 12:07:34 +13:00
parent caa0bf526d
commit 6d606e85f4

View File

@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
int rMethod(int _bottle){
if(_bottle > 1){
if(_bottle > 2){
printf("%d bottles of beer on the wall!\n", _bottle);
printf("%d bottles of beer!\n", _bottle);
printf("You take one down, and pass it around!\n");
@ -10,6 +10,13 @@ int rMethod(int _bottle){
printf("\n");
rMethod(_bottle);
}
else if (_bottle == 2){
printf("%d bottles of beer on the wall!\n", _bottle);
printf("%d bottles of beer!\n", _bottle);
printf("Take it down, and pass it around!\n");
_bottle--;
printf("%d more bottle of beer on the wall!\n", _bottle);
}
else if (_bottle == 1){
printf("%d more bottle of beer on the wall!\n", _bottle);
printf("%d more bottle of beer!\n", _bottle);