2021年8月29日

摘要: #include <stdio.h> int main() { int a[20],b=0,c,j=0,sum=0; for (int i = 1; i <= 100; i++) { if (i % 7 == 0) { b++; a[b] = i; } c = b; } for (b; b > 0; 阅读全文
posted @ 2021-08-29 10:35 OopsOops 阅读(1032) 评论(0) 推荐(0)
 
摘要: #include<stdio.h> #include<math.h> int step(int a) { int power=0; if (a == 1 || a == 0) power = a; if (a > 1) power= a*step(a-1); return power; } int 阅读全文
posted @ 2021-08-29 10:17 OopsOops 阅读(62) 评论(0) 推荐(0)