hi i have this pieceof code and im not sure as to what it is im doing wrong but i cant get this piece of code rnning any suggestions?
#include <stdio.h>
#include <math.h>
int grade input (double *a[i],double *i)
{
scanf("%l",&*a[i]);
return 0;
}
int main (void)
{
double a[i];
double i;
grade input(&a[i], &i);
printf("How many grades will be curved?\n");
scanf("%l",&i);
return 0;
}