麻烦大佬看看哪儿错了
#include<stdio.h>
int ageprogram(int n)
{
int age;
if(n==1)
{
return 10;
}
else
{
age=ageprogram(n-1)+2;
}
}
int main()
{
int age;
age=ageprogram(5)
printf(age);
return 0;
}