Krolyxon
Commit 38ea793

Branches

Refs →

tros38ea793

lil grammar edit + color_red for fail

Author
theo
Date
2023-09-01 16:19 +0530
Parent
4796585
Commit
38ea7934eb05998b238bda09adb90697f31f0e28

+3 −3

1 file changed

  1. M src/main.c +3 −3
M src/main.c View
@@ -91,10 +91,10 @@ void decrement_score(Difficulty diff) {
9191 "The score will be decremented by 10\n");
9292 score -= EASY_SCORE_DECREMENT;
9393 } else if (diff == Medium) {
94− printf("Wrong Answer!! The score will be decremented by 20\n");
94+ printf("Wrong Answer!! The score will be decremented by 20.\n");
9595 score -= MEDIUM_SCORE_DECREMENT;
9696 } else {
97− printf(COLOR_RED COLOR_BOLD "Wrong Answer!! You Lose!!" COLOR_OFF);
97+ printf(COLOR_RED COLOR_BOLD "Wrong Answer!! You Lose!!\n" COLOR_OFF);
9898 exit(1);
9999 }
100100 }
@@ -147,7 +147,7 @@ void level_down() {
147147 level--;
148148 size -= 3;
149149 } else {
150− printf("Too many wrong answers!!, You Lose!");
150+ printf("Too many wrong answers!! " COLOR_RED COLOR_BOLD "You Lose!!\n" COLOR_OFF);
151151 exit(1);
152152 }
153153 }