C++ application

C++ application

Write a C++ application that does the following:
ITEM 1: Prompts the user to choose one of the following series:
1 + 1/2 + 1/3 + ... + 1/n
((((x * 2) * 2) * ...) * 2)
series of n multiplications
x + (x * 1) + (x * 2) + (x * 3) + ... + (x * n)
ITEM 2: Once the user has chosen which series will be computed, the user should be prompted appropriate variables.
n 1.
x and n 2 and 3.
ITEM 3: After the user has entered valid integer values variables, series should be computed using loops (HINT: see the textbook readings on Count-Controlled Loops, or read ahead to next week regarding ). The result should then be displayed.
ITEM 4: The user should then be prompted if they want to compute another series.
If so, the application should again prompt the user as to which series to compute (back to ITEM 1).
If not, the application should cleanly exit.
Powered by