.........
unsigned long arr_value();
int main(int argc,int *argv[])
{
int j=0;
unsigned long n1=1,n2=1;
unsigned long an=n1+n2;
if(argc==1)
{
printf("value [nth]\n");
}
else if(argc==2)
{
arr_value(argv[1]);
}
else
{
printf("command error,please enter again \n");
}
return 0;
}
unsigned long arr_value(int n)
{
for(int i=0;i<n;i++)
{
an=n1+n2;
n1=n2;
n2=an;
printf(“the %d th value is %ul\n”,n,an);
}
return an;
}