Hey guys could you help out with a C++ question i just got?
it goes like this
Write a program to display the following menu:-
Request the user to enter a choice. Perform the relevant operation based on the choice entered.
Choice P:Request the user to enter the base and exponent. Calculate the power of the numbers on the base and exponent entered.
Choice F: Request the user to enter a number. Then calculate the factorial of the number entered.
Choice E: User can only exit the program only by entering E or e.
Other choices: Display "Wrong entry"