view garf.c @ 106:66dc98750bc4

Update mod7.nsb committer: GitHub <noreply@github.com>
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Tue, 18 Oct 2022 18:42:18 -0400
parents bc2e83fbfbce
children
line wrap: on
line source

// garf simulator
#include <stdio.h>
#include <string.h>

int main(void) {
    char answer[255];
    printf("would you like to monetize 1123.best?: ");
    fgets(answer, sizeof(answer), stdin);
    if(strcmp(answer, "yes") == 0) {
        printf("it's a yes!");
    } else {
        printf("it's a yes!");
    }
    return 0;
}