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; +}