[填空题] 以下程序是计算学生的年龄。已知第一位最小的学生年龄为10岁,其余学生的年龄一个比一个大2岁,求第5个学生的年龄。 #include <stdio.h> age(intn) int
12 查阅
[填空题] 以下程序是计算学生的年龄。已知第一位最小的学生年龄为10岁,其余学生的年龄一个比一个大2岁,求第5个学生的年龄。
#include <stdio.h>
age(intn)
int c;
if(n==1) c=10;
else c= (10) ;
return(c);
void main()
int n=5;
printf("age:%d", (11) );
参考答案: