Shell script program

jones_90

Honorable
Oct 1, 2012
4
0
10,510
To write a shell script program that accepts three parameters and displays their average to the user?

echo enter 1st number
read number1
echo enter 2nd number
read number2
echo enter 3rd number
read number3
SUM =`expr$ number1+number2+$number3`
AVERAGE=`expr$SUM/3`
echo The Average is $AVERAGE

when I run the program it says
SUM: not found
AVERAGE: not found