摘要:
7.12.7 include define basic_wage 10.00 define over_time 1.5 10 define three_hundred_rate 0.15 define one_hundred_half_rate 0.2 define more_then_four_h 阅读全文
posted @ 2019-04-24 21:25
viviLy
阅读(102)
评论(0)
推荐(0)
摘要:
7.12.6 include int main(void) { char ch; char prechar; int frequency = 0; while ((ch = getchar()) != ' ') { if (ch == 'e') prechar = 'e'; if ((ch == ' 阅读全文
posted @ 2019-04-24 16:12
viviLy
阅读(84)
评论(0)
推荐(0)
摘要:
7.12.4 include int main(void) { int Exclamationtoperiod = 0; int two2one = 0; char ch; while ((ch = getchar()) != ' ') { switch (ch) { case '.': putch 阅读全文
posted @ 2019-04-24 15:32
viviLy
阅读(104)
评论(0)
推荐(0)
摘要:
7.12.4 include int main(void) { int Exclamationtoperiod = 0; // 感叹号替换句号次数 int two2one = 0; // 两个感叹号替换一个感叹号次数 char ch; while ((ch = getchar()) != ' ') 阅读全文
posted @ 2019-04-24 15:17
viviLy
阅读(100)
评论(0)
推荐(0)
摘要:
7.12.3 include int main(void) { int odd_number = 0; int even_number = 0; int odd_sum = 0; int even_sum = 0; int num; while ( scanf("%d", &num) == 1) { 阅读全文
posted @ 2019-04-24 14:50
viviLy
阅读(116)
评论(0)
推荐(0)