task3.c

摘要: include <stdio.h> int main() { char ans1, ans2; printf("每次课前认真预习,课后及时复习了吗?(输入y或Y表示有,输入n或N表示没有): "); ans1 = getchar(); getchar(); printf("\n动手敲代码实践了没?( 阅读全文
posted @ 2025-10-09 00:24 唐思齐 阅读(1) 评论(0) 推荐(0)

task2.c

摘要: include <stdio.h> int main() { double a, b, c; scanf_s("%lf%lf%lf" , &a, &b, &c); if (a + b > c and a + c > b and b + c > a) printf("能构成三角形\n"); else 阅读全文
posted @ 2025-10-09 00:00 唐思齐 阅读(1) 评论(0) 推荐(0)

task.1_2.c

摘要: //task1_2.c include <stdio.h> int main() { printf("%s\t%s\t\n"," 0"," 0"); printf("%s\t%s\t\n","", ""); printf("%s\t%s\t\n","I I","I I"); return 0; } 阅读全文
posted @ 2025-10-08 23:22 唐思齐 阅读(2) 评论(0) 推荐(0)