Which language are you using? In bash/ksh you can use the
read statement to query user input. E.g.
Code:
read -p "Please enter model of your mobile" model
in this case the text entered by the user will be stored in the variable "model". Then you have to check the input and make the script to act accordingly. Usually this is done by means of the case/esac construct.