tem_array = {10, 2, 3, 20, 1}table.sort(tem_array) print (tem_array[#tem_array]) -- 20
Standard input is empty
20
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!