Mercurial > codedump
view garf.cpp @ 48:267e3e6bba63
Update README.md
committer: GitHub <noreply@github.com>
| author | Paper <37962225+mrpapersonic@users.noreply.github.com> | 
|---|---|
| date | Sat, 31 Jul 2021 01:43:12 -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; }
