-->
当前位置:首页 > 题库

PROGRAMMING:Statistics of the number of students employed in various industries, according to the number of output from high to low.

Luz5年前 (2021-05-10)题库370
Enter the industry name of each student in a class with a space between them (enter to end). Statistics of the number of students employed in various industries, according to the number of output from high to low.
###Input format:
**Enter the industry name of each student, and space between the industry names (enter to end)**
Traffic finance computer traffic computer
###Output format:
The output reference format is as follows, * *, where the colon is in English * *:
Computer: 3
Transportation: 2
Finance: 1
###Input example:
```in
Traffic finance computer traffic computer
```
###Output example:
```out
Computer: 3
Transportation: 2
Finance: 1
```






answer:If there is no answer, please comment