Write a program that accepts two real numbers from a user and a select code. If the entered select code is 1, have the program add the two previously entered numbers and display the result; if the select code is 2, the numbers should be multiplied, and if the select code is 3, the first number should be divided by the second number.
Division by 0 should not be allowed and an appropriate message should be displayed when such a division is attempted. The program should allow the user to use the program over again.