#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
int Findage(int age)
{
if (age == 1)
{
return 10;
}
else if (age>1)
{
return Findage(age - 1) + 2;
}
}
int main()
{
printf("the age is %d", Findage(5));
system("pause");
return 0;
}