Изменить 'a1/program.c'

This commit is contained in:
Pavlo Tverdyi 2020-03-19 13:29:32 +00:00
parent 4a5e8f85bf
commit 8eebd7c7f3

View File

@ -4,10 +4,14 @@
int main()
{
int i,c;
int i,c,no;
double x;
long double result=0;
scanf("%lF",&x);
if(scanf("%lF",&x)!=1){
printf("Nepodarilo sa nacitat x\n");
no=1;
}
long double *array;
array = (long double*) malloc(10000);
for(i=0,c=1;i<c;i++,c++){