Well done putting the prompts within the when blocks allowing you to ask the user for one input in the cause of sq and two for ex;