[SOLVED] SOLVED: Application of recursive function

10.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon main.zip (1.2 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)

The assignment is an application of recursive function. With a number pattern that begins with 1, 5, 14, and 30. Write a C++ program that figures out and display the first twenty numbers of the pattern, and then with a user’s choice entered, at the run time, for an ordered number in the pattern, the program displays that element.
The program then loops back continuously to accept another user’s choice for any other elements in the pattern to be revealed. Input value was validated to make sure that program won’t be crashed at the run time by any reason.

  • main.zip