Fixed Inconsistency in grammar
This commit is contained in:
parent
caa0bf526d
commit
6d606e85f4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user