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

PROGRAMMING:Structure outputs the information of the highest achievers

Luz5年前 (2021-05-10)题库383
The information of known students includes name and grade. Write a program to input the information of five students from the keyboard, and output the name and score of the highest score.
###Input format:
Each message takes up one line, with a space between the name and grade.
###Output format:
1 decimal place is reserved for the output result.
###Input example:
```in
aaaa 80
bbbb 95
cccc 74
dddd 65
eeee 86
```
###Output example:
```out
name = bbbb, score = 95.0
```







answer:If there is no answer, please comment