PROGRAMMING:Using pointer method to find the difference between the maximum and minimum of 10 numbers
Please use the pointer method to write the program. The function of the program is to input 10 numbers from the keyboard to find the difference between the maximum value and the minimum value.
###Input format:
Enter 10 integers, separated by spaces.
###Output format:
The same is true.
###Input example:
```in
1 2 3 4 5 6 7 8 9 10
```
###Output example:
```out
difference value = 9
```
answer:If there is no answer, please comment
###Input format:
Enter 10 integers, separated by spaces.
###Output format:
The same is true.
###Input example:
```in
1 2 3 4 5 6 7 8 9 10
```
###Output example:
```out
difference value = 9
```
answer:If there is no answer, please comment