#include<stdio.h> int kjxhi(int n) { int zgsm; if(n == 1) zgsm = 10; else zgsm = kjxhi(n-1)+2; return zgsm; int main() { int zgs = kjxhi(5); printf("第5个人的年龄是%d岁",zgs); return 0;*/ }
这是C语言入门里的5-9的任务
onemoo
相关分类