diff --git a/main.cpp b/main.cpp index adb34fe..5c24cc1 100644 --- a/main.cpp +++ b/main.cpp @@ -28,7 +28,7 @@ void loop(int hour, int humans, int zombies) { int new_humans; int new_zombies; - std:printf("hour: %ld| zombies: %ld| humans: %ld \n", hour, zombies, humans); + std:printf("hour: %d| zombies: %d| humans: %d \n", hour, zombies, humans); for (int n = 0; n < new_zombies; n++) { if (rand() % 100 < attack_chance) {