diff --git a/du3/program.c b/du3/program.c index 356d699..9b5cf99 100644 --- a/du3/program.c +++ b/du3/program.c @@ -6,7 +6,7 @@ int main(){ int result; int vxod[99]; for(int i = 0; i < 10; i++){ - scanf("%d" *c); + c = fgets(); if(c != 1) break; vxod[i] = c;