All the values need to be read to find the
highest one.
If you know there are ten inputs, you could use
10 variables salary1, salary2, ... ,
salary10. But you would have to write a lot of code ten
times to handle each variable.
This technique becomes prohibitive as the list
gets larger (100 salaries).