Deliverables:
Your C++ source code file. (The file with the .CPP extension).No other files will be accepted.
A screenshot of your program running.
Program Instructions:
Writea program that uses a random number generator to generate a two digitpositive integer and allows the user to perform one or more of thefollowing operations:
Double the number.
Reverse the digits of the number.
Raise the number to the power of 2, 3, or 4.
Sum the digits of the number.
If the number is a two digit number, then raise the first digit to the power of the second digit.
Ifthe number is a three digit number and the last digit is less than orequal to 4, then raise the first two digits to the power of the lastdigit.
After performingan operation if the number is less than 10, add 10 to the number. Also,after each operation determine if the number is prime.
Eachsuccessive operation should be performed on the number generated by thelast operation. Your program should not contain any global variablesand each of these operations must be implemented by a separate function.Also, your program should be menu driven.
