Aktualizovat „a1/program.c“
This commit is contained in:
parent
1f99198196
commit
636badf2ca
@ -9,9 +9,10 @@ int main()
|
|||||||
long double arr[50]={0};
|
long double arr[50]={0};
|
||||||
scanf("%lf",&x);
|
scanf("%lf",&x);
|
||||||
while(scanf("%Lf",&value)!=EOF){
|
while(scanf("%Lf",&value)!=EOF){
|
||||||
//if(isalpha(value)!=0){
|
if(isdigit(value)==0){
|
||||||
// return 0;
|
printf("Nepodarilo sa nacitat x\n");
|
||||||
//}
|
return 0;
|
||||||
|
}
|
||||||
arr[count]=value;
|
arr[count]=value;
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user