Aktualizovat „a1/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-03-15 18:16:11 +00:00
parent 88df510aac
commit 1cfec89bcd

View File

@ -8,8 +8,8 @@ int main()
int count =0; int count =0;
long double arr[50]={0}; long double arr[50]={0};
scanf("%lf",&x);
if(isalpha(x)!=0){ if(scanf("%lf",&x)!=1){
printf("Nepodarilo sa nacitat x\n"); printf("Nepodarilo sa nacitat x\n");
return 0; return 0;
} }