@ -134,14 +134,12 @@ int getWinnings(char symbols[], int bet){
}
bool checkForMaxWin(char symbols[]){
bool maxWin = true;
for(int i = 1; i < NUM_OF_SYMBOLS; i++){
if(symbols[0] != symbols[i]){
maxWin = false;
return maxWin;
return false;
return true;
void showResult(char symbols[], int winnings){