annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
05978f04869b Add files via upload
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
1 // garf simulator
05978f04869b Add files via upload
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
2 #include <stdio.h>
05978f04869b Add files via upload
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
3 #include <string.h>
05978f04869b Add files via upload
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
4
74
2057ab53f04e Update and rename garf.cpp to garf.c
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 41
diff changeset
5 int main(void) {
41
37f231f85a67 add tabs to some c++ files and fix win95kg.cpp
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
6 char answer[255];
78
cb7cb64e4929 Update garf.c
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 74
diff changeset
7 print("would you like to monetize 1123.best?: ");
41
37f231f85a67 add tabs to some c++ files and fix win95kg.cpp
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
8 fgets(answer, sizeof(answer), stdin);
74
2057ab53f04e Update and rename garf.cpp to garf.c
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 41
diff changeset
9 if(strcmp(answer, "yes") == 0) {
78
cb7cb64e4929 Update garf.c
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 74
diff changeset
10 printf("it's a yes!");
74
2057ab53f04e Update and rename garf.cpp to garf.c
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 41
diff changeset
11 } else {
78
cb7cb64e4929 Update garf.c
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 74
diff changeset
12 printf("it's a yes!");
41
37f231f85a67 add tabs to some c++ files and fix win95kg.cpp
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
13 }
37f231f85a67 add tabs to some c++ files and fix win95kg.cpp
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
14 return 0;
1
05978f04869b Add files via upload
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
15 }