PROGRAMMING:C programming experiment 5-3 finding problems
Input the score of a course from the keyboard (the maximum number of students in each class is not more than 40). When the input value is negative, it means the end of the input. Try to program to input a student number from the keyboard to find the score of the student with the student number.
If the student number cannot be found, output
```
Not found!
```
###Input format:
Each student's student number and score are separated by a colon, and students are separated by a space. The number of students is no more than 40. Negative student number or score indicates the end of input.
```
Student number 1: fraction 1 student number 2: fraction 2... Student number n: fraction n - 1: - 1
```
Finally, enter a student number to find the corresponding score
```
Student number x
```
###Output format:
The score corresponding to the last input student number
###Input example:
Here is a set of inputs. For example:
```in
1:65 2:80 3:77 4:91 5:83 6:79 -1:-1
five
```
###Output example:
The corresponding output is given here. For example:
```out
eighty-three
```
answer:If there is no answer, please comment
If the student number cannot be found, output
```
Not found!
```
###Input format:
Each student's student number and score are separated by a colon, and students are separated by a space. The number of students is no more than 40. Negative student number or score indicates the end of input.
```
Student number 1: fraction 1 student number 2: fraction 2... Student number n: fraction n - 1: - 1
```
Finally, enter a student number to find the corresponding score
```
Student number x
```
###Output format:
The score corresponding to the last input student number
###Input example:
Here is a set of inputs. For example:
```in
1:65 2:80 3:77 4:91 5:83 6:79 -1:-1
five
```
###Output example:
The corresponding output is given here. For example:
```out
eighty-three
```
answer:If there is no answer, please comment