#!/bin/bash
## Enter any numbers inside of index_listindex_list=(1510 -3 523 -5)for number in ${!index_list[@]}doif[[${index_list[$number]} -gt $high_value ]]then high_value=${index_list[$number]} high_index=$number
fidoneecho "The highest value within the array is: "$high_value
echo "The index location of the highest value is: "$high_index