in reply to my program will not display a correct answer, to a random question?

First, you should chomp $ask:
chomp $ask;
Next, you need to type in the word Add when prompted:
Type in a number: 2 Type in another number: 3 What would you like done? Your choice is: 1) Add 2) Subtract 3) Multiply 4) Divide Add 2 + 3 = 5
Other advice: