摘要: `#include <stdio.h> include <stdlib.h> int main(){ char ans1, ans2; printf("每次课前认真预习、课后及时复习了没? (输入y或Y表示有,输入n或N表示没有) 😊; ans1 = getchar(); getchar(); p 阅读全文
posted @ 2024-03-18 12:46 酒庄 阅读(11) 评论(0) 推荐(0)
摘要: `#include <stdio.h> include <stdlib.h> int main(){ float a,b,c; while(scanf("%f%f%f",&a,&b,&c)!=EOF){ if(a<b+c && b<a+c && c<a+b) printf("能构成三角形\n"); 阅读全文
posted @ 2024-03-18 12:44 酒庄 阅读(21) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> int main() { printf(" O O \n"); printf("<H> <H>\n"); printf("I I I I\n"); printf(" O \n"); printf("<H>\n"); pri 阅读全文
posted @ 2024-03-18 12:42 酒庄 阅读(13) 评论(0) 推荐(0)