程序设计基础-2021级 (南京信息工程大学)

  • 实验3·--·

    /1.1.1/ #include<stdio.h>long long fac(int n);int main(){ int i,n; printf("Enter n:"); scanf("%d",&n); for(i = 1;i <= n;++i) printf("%d! = %11d\n",i,f
    BS--HARD   2021-11-27 20:13   2   8
  • 实验三

    task1-1 #include <stdio.h> long long fac(int n); int main() { int i, n; printf("Enter n: "); scanf("%d", &n); for (i = 1; i <= n; ++i) printf("%d! = %
    黄爽   2021-11-27 19:20   1   21
  • 实验三

    #include<stdio.h> #include<math.h> double jiecheng(int x){ if(x==1) return 1; else return x*jiecheng(x-1); } double fun(int n){ double t=0; int i; for
    李岩岩岩岩   2021-11-27 18:58   0   3
  • 实验3

    实验一 #include <stdio.h> long long fac(int n); int main() { int i, n; printf("Enter n:"); scanf("%d", &n); for ( i = 1; i <= n; ++i) { printf("%d!=%lld\
    IU是春天呐   2021-11-27 16:25   0   9
  • 实验三

    实验一 task1-1(填代码前)#include <stdio.h> long long fac(int n); int main() { int i, n; printf("Enter n: "); scanf("%d", &n); for (i = 1; i <= n; ++i) printf
    卓欣   2021-11-27 16:19   0   9
  • 实验任务三

    #include <stdio.h> long long fac(int n); int main() { int i, n; printf("Enter n: "); scanf("%d", &n); for (i = 1; i <= n; ++i) printf("%d! = %lld\n",
    lzxy71   2021-11-27 14:09   0   4
  • 实验三

    task1 //利用局部static变量的特征,计算阶乘 #include <stdio.h> long long fac(int n); int main() { int i,n; printf("Enter n:"); scanf("%d",&n); for(i = 1;i <= n;++i)
    周杨0532   2021-11-27 11:49   0   8
  • 实验3 函数

    task1 #include <stdio.h> long long fac(int n); int main() { int i, n; printf("Enter n: "); scanf("%d", &n); for (i = 1; i <= n; ++i) printf("%d! = %ll
    省力   2021-11-27 11:30   0   8
  • 实验3

    #include <stdio.h> long long fac(int n); int main() { int i, n; printf("Enter n: "); scanf_s("%d", &n); for (i = 1; i <= n; ++i) printf("%d! = %lld\n"
    姜安童   2021-11-26 20:59   1   6
  • 实验三

    #include<stdio.h> long long fac(int n); int main() { int i, n; printf("Enter n:"); scanf("%d",&n); for(i = 1;i <= n;++i) printf("%d!=%lld\n",i,fac(i))
    凌空haki   2021-11-25 20:02   0   4