Mercurial > codedump
view garf.c @ 78:cb7cb64e4929
Update garf.c
committer: GitHub <noreply@github.com>
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Mon, 04 Jul 2022 07:01:44 -0400 |
parents | 2057ab53f04e |
children | bc2e83fbfbce |
line wrap: on
line source
// garf simulator #include <stdio.h> #include <string.h> int main(void) { char answer[255]; print("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; }