diff --git a/du3/ program.c b/du3/ program.c new file mode 100644 index 0000000..da5a00e --- /dev/null +++ b/du3/ program.c @@ -0,0 +1,55 @@ +#include +#include +#include +#include +#define SIZE 30 +int main(){ + char pol[SIZE]; + memset(pol,'\0',SIZE); + //pol[SIZE]='\0'; + int ch=0; + + for(int idx=0;1;idx++ ){ + ch=getchar(); + if(ch==EOF||ch==' ')break; + pol[idx]=ch; + } + + /*for(int i=0; i