From 5c7aa8ad4692c654bf064bb0bba3c072b00824e9 Mon Sep 17 00:00:00 2001 From: celso Date: Sat, 5 Nov 2022 17:51:37 -0300 Subject: [PATCH] sixth exercise --- 1-6.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 1-6.c diff --git a/1-6.c b/1-6.c new file mode 100644 index 0000000..354fa6d --- /dev/null +++ b/1-6.c @@ -0,0 +1,7 @@ +#include +int main(){ + int c; + c=(getchar() != EOF); + printf("%d", c); + return 0; +}