diff --git a/a1/program.c b/a1/program.c index 30055eb..0a8cc28 100644 --- a/a1/program.c +++ b/a1/program.c @@ -3,11 +3,11 @@ #include int main() { - double x=0; - double value =0; + float x=0; + float value =0; int count =0; - double arr[50]; - while(scanf("%lF",&value)!=EOF){ + float arr[50]; + while(scanf("%f",&value)!=EOF){ if(isalpha(value)!=0){ return 0; } @@ -23,7 +23,7 @@ int main() for(int i =0;i