I think this is what you are looking for:
Code:// game_loop_test.c #include <stdio.h> int main() { // Repeat block of three printf to console three times then break for (int tries = 3; tries > 0; tries--) { printf("Start Game: \n"); printf("Game Loop program"); printf("\n"); /* if (tries == 3) // NOT needed. The for() loop does this. { break; } tries++; */ } return 0; }