摘要: 1出租车行驶计价 #include<stdio.h> main() { float s, l; printf("输入行驶距离:\n"); scanf("%f",&l); if(l<=3) s=8; else s=(l-3)*1.6+8; printf("%.2f\n",s); 2,判断正负数 inc 阅读全文
posted @ 2021-10-24 08:21 淘气5555 阅读(11) 评论(0) 推荐(0) 编辑