summaryrefslogtreecommitdiff
path: root/agree.c
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2023-12-03 01:55:31 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2023-12-03 01:55:31 +0000
commita2c2af12e8937dbe407f5088ab3d68fd8f57cd27 (patch)
tree3458be01eb31dfac438e3e6f69c0d87623c7a06c /agree.c
parentb10bc0499111388d13dbc0926f425edc01ba3653 (diff)
Sat, Dec 2, 2023, 5:55 PM -08:00
Diffstat (limited to 'agree.c')
-rw-r--r--agree.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/agree.c b/agree.c
deleted file mode 100644
index 0676cd2..0000000
--- a/agree.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <stdio.h>
-#include <cs50.h>
-
-int main(void)
-{
- char c = get_char("Do you agree? ");
- if (c == 'y' || c == 'Y')
- {
- printf("Agreed.\n");
- }
- else if (c == 'n' || c == 'N')
- {
- printf("Not agreed.\n");
- }
-}