关于函数调用的问题,不太懂,请给予帮助
#include <stdio.h>int sum(int,int);
int main(void)
{
int min,max;
printf("Enter lower and upper integer limits:");
scanf("%d%d",&min,&max);
while (min!=max)
{
printf("The sums of the squares from %d to %d is %d\n",sum(min,max));
printf("Enter lower and upper integer limits:");
scanf("%d%d",&min,&max);
}
printf("Done");
return 0;
}
int sum(int min,int max)
{
int x,y=0;
for (x = min;x < max;x++)
y+=x*x;
return y;
} /*第九题,整了好久都没懂,那个函数怎么调用呐?*/