#!/bin/bash
# declare an array called array and define 3 values
array=( one two three )
for i in "${array[@]}"
do
echo $i
done
echo -e "Enter value between 0-5: c"
read -r readusr
month=("JAN" "FEB" "MAR" "APR" "MAY" "JUN")
echo -e "User chosen month is: c"
echo ${month[$readusr]}
echo -e "All months are: c"
echo ${month[@]}
echo -e "Numbers of months are: c"
echo ${#month[@]}