```
int main()
{
double t[]={15.70, 29.39, 41.14, 56.47, 75.61, 98.83 ,112.42, 125.61, 129.39, 133.45,138.94, 141.41, 143.67, 144.63, 144.95, 145.16, 146.25, 146.70, 147.26 , 148.15, 152.40};
int n = sizeof (t)/sizeof (t[0]);
FindLN(t, n);
return 0;
}
void FindLN(double t[], int n)
{
int index;
double lnt[n];
for (index=0; index<n; index++)
{
lnt[index]=log(t[index]);
lnnum[index]=log(num[index]);
}
}
```

I get a few errors but Im quite certain they are all related

Errors

expected constant expression at double lnt[n];

cannot allocate array size 0 and lnt unknown size at this line

HELP Please