name_loop.c

Code:

#include <stdio.h>

int main(void) {
    for (int i = 0; i < 20; i++) {
        printf("David\n");
    }
}

Terminal window:

davidrhmiller@ide50:~/workspace/meeting_3_prework $ make name_loop
clang -ggdb3 -O0 -std=c11 -Wall -Werror -Wshadow    name_loop.c  -lcs50 -lm -o name_loop
davidrhmiller@ide50:~/workspace/meeting_3_prework $ ./name_loop
David
David
David
David
David
David
David
David
David
David
David
David
David
David
David
David
David
David
David
David
Comments