摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<math.h> int main() { //求最大值 求10个整数中的最大值 int arr[] = {-20,-2,-3,-4,-10,-6,-12,-8,-9,-5}; i 阅读全文
posted @ 2022-03-25 17:54
zzy_C
阅读(88)
评论(0)
推荐(0)
|
摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<math.h> int main() { //求最大值 求10个整数中的最大值 int arr[] = {-20,-2,-3,-4,-10,-6,-12,-8,-9,-5}; i 阅读全文
posted @ 2022-03-25 17:54
zzy_C
阅读(88)
评论(0)
推荐(0)
摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<math.h> int main() { //分数求和 1/1-1/2+1/3-1/4+1/5......+1/99-1/100的值,打印出结果 int i = 0; doubl 阅读全文
posted @ 2022-03-25 17:25
zzy_C
阅读(202)
评论(0)
推荐(0)
摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<math.h> int main() { //编写程序数一下 1到100的所有整数中出现多少个数字9 int i = 0; int count = 0; for (i < 1; 阅读全文
posted @ 2022-03-25 17:09
zzy_C
阅读(87)
评论(0)
推荐(0)
摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<math.h> int main() { int i = 0; int count = 0; for (i = 101; i <= 200; i+=2) { //判断i是否是素数 阅读全文
posted @ 2022-03-25 16:00
zzy_C
阅读(46)
评论(0)
推荐(0)
|