diff --git a/a1/program.c b/a1/program.c index 8566a2a..cb76134 100644 --- a/a1/program.c +++ b/a1/program.c @@ -4,11 +4,11 @@ int main() { double x=0; - long double value =0; + double value =0; int count =0; - long double arr[50]; + double arr[50]; scanf("%lf",&x); - while(scanf("%Lf",&value)!=EOF){ + while(scanf("%lf",&value)!=EOF){ if(isalpha(value)!=0){ return 0; } @@ -16,7 +16,7 @@ int main() count++; } value=0; - for(int i =0;i