Write a program that uses a random number generator to generate a two digit positive integer and allows user to perform one or more of the following operations:

a.double the number

b.reverse the digit of the number

c.raise the number to the power of 2,3, or 4

d.sum thee digits of the number.

e.if the number is a two digit number, then raise the first digit to the power of the second digit.

f.If the number is a three digit number and the last digit is less than or equal to 4, then raise the first two digits to the powerof the last digit.

After performing an operation if the number is less than 10, add 10 to the number. Also, after each operation determine if the number is prime .