Mercurial > codedump
view garf.c @ 81:22dcc38fd8b1
Update README
committer: GitHub <noreply@github.com>
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Wed, 06 Jul 2022 10:33:28 -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; }