2022年10月18日

摘要: task1 #include <stdio.h> int main() { printf(" O O\n"); printf("<H> <H>\n"); printf("I I I I\n"); return 0; } #include <stdio.h> int main() { printf(" 阅读全文
posted @ 2022-10-18 19:56 好厚的雪 阅读(14) 评论(0) 推荐(0) 编辑
 
摘要: #include <stdio.h> int main() { printf(" O O\n"); printf("<H> <H>\n"); printf("I I I I\n"); return 0; } 阅读全文
posted @ 2022-10-18 12:23 好厚的雪 阅读(11) 评论(0) 推荐(0) 编辑
 
摘要: #include<stdio.h> int main() { int answer; char words[5000]; printf("网课学习让一些人欢喜一些人忧.\n"); printf("1.作为喜欢自学且自律的人,觉得这样很好。有网络,自主学习,很OK。\n"); printf("2.不喜 阅读全文
posted @ 2022-10-18 12:16 好厚的雪 阅读(2) 评论(0) 推荐(0) 编辑
 
摘要: #include<stdio.h> int main() { char ans1, ans2; printf("每次课前认真预习,课后认真复习了没?(输入y或Y表示有,输入n或N表示没有):"); ans1 = getchar(); getchar(); printf("手动敲代码实践了没?(输入y 阅读全文
posted @ 2022-10-18 11:53 好厚的雪 阅读(15) 评论(0) 推荐(0) 编辑
 
摘要: #pragma warning(disable:4996) #include<stdio.h> int main() { int age1, age2; char gender1, gender2; scanf("%d%c%d%c", &age1, &gender1, &age2, &gender2 阅读全文
posted @ 2022-10-18 11:32 好厚的雪 阅读(2) 评论(0) 推荐(0) 编辑
 
摘要: #pragma warning(disable:4996) #include<stdio.h> int main() { double x, y; char c1, c2, c3; int a1, a2, a3; scanf("%d%d%d", &a1, &a2, &a3); printf("%d, 阅读全文
posted @ 2022-10-18 11:22 好厚的雪 阅读(13) 评论(0) 推荐(0) 编辑
 
摘要: #include<stdio.h> #include<math.h> int main() { unsigned int sum; int n,a1, q; scanf_s("%d", &n); a1 = 1; q = 2; sum = a1*(1 - pow(q,n) )/ (1 - q); pr 阅读全文
posted @ 2022-10-18 10:51 好厚的雪 阅读(12) 评论(0) 推荐(0) 编辑