1137: C语言训练-求函数值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int a=10,i,x;void fun1(){ scanf("%d",&x); if(x==1) { …… 题解列表 2022年01月25日 0 点赞 0 评论 215 浏览 评分:0.0
C语言训练-求函数值-题解(C++代码) 摘要:递归 ```cpp #include using namespace std; int fact(int x_int) { if (x_int == 1) { ret…… 题解列表 2019年12月10日 0 点赞 0 评论 520 浏览 评分:0.0
C语言训练-求函数值-题解(C语言代码) 摘要: #include int main(int x) { scanf("%d",&x); f(x); printf("%d",f(x)); } int f(int x)…… 题解列表 2020年01月22日 0 点赞 0 评论 903 浏览 评分:0.0
C语言训练-求函数值-题解(C语言代码) 摘要: #include int main() { int f(int x); int x; scanf("%d",&x); …… 题解列表 2020年04月06日 0 点赞 0 评论 319 浏览 评分:0.0
C语言训练-求函数值-题解(C语言代码) 摘要:```c // // Created by sairo on 2020/5/4. // #include int f(int x) { if (x == 1) { …… 题解列表 2020年05月04日 0 点赞 0 评论 332 浏览 评分:0.0
C语言训练-求函数值-题解(C语言代码) 摘要: #include int f(int x) { if(x==1) return 10; return f(x-1)+2; } …… 题解列表 2020年06月09日 0 点赞 0 评论 272 浏览 评分:0.0
C语言训练-求函数值-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int x=1,n; int f1=10; scanf("%d",&n); printf("%d",f1+2…… 题解列表 2020年07月23日 0 点赞 0 评论 274 浏览 评分:0.0
C语言训练-求函数值-题解(C语言代码) 摘要:```c #include int fac(int n) { if (n == 1) return 10; else return fac…… 题解列表 2020年10月07日 0 点赞 0 评论 349 浏览 评分:0.0
C语言训练-求函数值-题解(C语言代码)(递归) 摘要:规律就是第一个为10,往后每一个加2 完全没看懂题.....第一种递归 ```c #include int zi(int x) { if(x==1) { …… 题解列表 2021年02月08日 0 点赞 0 评论 210 浏览 评分:0.0
求函数值 递归极简 摘要: import java.util.Scanner; public class 求函数值 { public static void main(String[] …… 题解列表 2021年04月01日 0 点赞 0 评论 298 浏览 评分:0.0