摘要: 编写程序判断n是正数还是负数 #include <stdio.h> main(){ int n; scanf("%d",&n); if(n>0){ printf("正数"); } else if(n<0){ printf("负数"); } } 2.使用条件运算符,找出四个数a,b,c,d四个数中最大 阅读全文
posted @ 2021-10-31 14:36 风再起时, 阅读(8) 评论(0) 推荐(0) 编辑