diff options
Diffstat (limited to 'wk1/agree.c')
-rw-r--r-- | wk1/agree.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/wk1/agree.c b/wk1/agree.c deleted file mode 100644 index 0676cd2..0000000 --- a/wk1/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"); - } -} |