- 博客(1)
- 收藏
- 关注
原创 无限递归(与无限循环一样)
public int sumByMax(int max){ if(max<=2){ return max+sumByMax(max-1); }else{ return max; }}
2018-06-15 18:16:19 3381
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
public int sumByMax(int max){ if(max<=2){ return max+sumByMax(max-1); }else{ return max; }}
2018-06-15 18:16:19 3381
TA创建的收藏夹 TA关注的收藏夹
TA关注的人