i need help to calculate and display the largest and average of a group of input numbers.
The program should accept a group of numbers, each can be up to 3 digits.
For example, input of 246, 321, 16, 10, 12345, 4, 274 and 0 should result in 321 as the largest and the average of 145, with an error message indicating that 12345 is invalid.
Any ideas how to sort in bash ? Sorry I am not developer in this low level, any help is great :)
sortcommand.man sort