diff --git a/a4/program.c b/a4/program.c index e69de29..80b0e12 100644 --- a/a4/program.c +++ b/a4/program.c @@ -0,0 +1,22 @@ +#include + +int main() +{ + int a[1000], i=0; + + do + { + if(scanf("%d", &a[i])!=1) + break; + else + i++; + + }while(1); + + for(int j=0; j