Okay, that explains the missing display. The script you are running is NOT the script you posted.
The script you are actually running contains a basic error in this line:
read $ticket
Should be:
read ticket
The error will cause $ticket to be blank.
Also, this line is missing:
echo "number entered" "$ticket"
Q.E.D.
Hopefully you next post will be a question from your Training Course?
Please do not ask new questions in existing threads. Unless you have new information to a particular problem, please create a new thread in the appropriate forum.
Also, please search the forums first, as it might be that someone has already posted an answer for a similar problem.