Thank you for the responce, however, i do not have a problem with looping the code. My big issue, is getting the code to work like an actual calculator.
Basically I would like the script to
1 - Prompt the user for a number.
2 - Prompt the user for the operation they would like to perform, either add, subtract, multiply or divide.
3 - Prompt the user for a number.
4 - Prompt the user for the operation they would like to perform, either add, subtract, multiply, divide
OR EQUALS.
5 - Display the result of the selected operation. The script should then exit or continue from step 3 if the user has not selected equals.
It is the (continue from step 3) bit that I just cannot get to work. Any ideas. Any help is very welcome, i have been racking my brains with this for too long now