Question: Write a program that uses a random number generator to generate a two digit positive integer and allows the user to perfom one or more

Write a program that uses a random number generator to generate a two digit positive integer and allows the user to perfom one or more of the following operations: 1. Double the number 2. Reverse the digits of the number 3. Raise the number to the power of3 4. Sum the digits of the number 5. If the number is a two digit number, then raise the first digit to the power of the second digit 6. If the number is a three digit number and the last digit is lees tha or equal to 4, then raise the firet two digits to the power of the last digit. Each successive operation should be performed on the numer generated by the last operation. Your program should not contain any global variables and each of the these operations must be implement by a separate function. Your program should be meu driven
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
