view garf.cpp @ 52:3857b2919db0

Update README.md committer: GitHub <noreply@github.com>
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Sat, 31 Jul 2021 03:02:43 -0400
parents 37f231f85a67
children
line wrap: on
line source

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

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