摘要: 1 #include 2 3 int main(void) 4 { 5 int x; 6 int n = 0; 7 8 scanf_s("%d", &x); 9 10 x = x / 10; 11 n++; 12 13 while (x > 0) 14 { 15 x = x / 10; 16... 阅读全文
posted @ 2019-11-03 10:11 jason2018 阅读(569) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 3 int main(void) 4 { 5 double length; 6 int time; 7 double money; 8 9 scanf_s("%lf %d", &length, &time); 10 11 if (length <= 3) 12 { 13 money = 10; 14 } 15 else 16 { 17 if (lengt 阅读全文
posted @ 2019-11-03 09:23 jason2018 阅读(126) 评论(0) 推荐(0) 编辑