view garf.c @ 77:81f95f11fe39

Update README.md committer: GitHub <noreply@github.com>
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Sat, 25 Jun 2022 22:13:08 -0400
parents 2057ab53f04e
children cb7cb64e4929
line wrap: on
line source

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

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