在下列程序中,调用f(5)的值是( )int f(int n){ if(n==1) return(1);else if(n==2) return(2);else return(f(n-1)+f(n-2));}

时间:2022-11-16 01:12:14

相似题目