Need help getting started simple simple shell script
Here is a simple shell script I am trying to write just for practice and getting started. The prloblem is, I don't know how to set up my math equation. Here is what I have so far
#by Drew Honnoll
#Just a dumb script to practice user imput and screen oupt
echo "Please enter your name and press enter"
echo "Please enter the number of children you have and press enter"
echo "Please enter your age when you had your last child and press enter"
echo "Now, $name if your children have 2 children each by the time they are at l
echo "Then by the time you are $NEWAGE you will have $GRANDCHILDREN grandchildre
Now every attempt I have made to set up GRANDCHILDREN and NEWAGE has failed I want NEWAGE to $age + 25 for the output and I want GRANDCHILDREN to $children * 2 but I can't get it to work. Dumb yeah I know but we all gotta start somewhere right?