Create a menu program, which includes a RecursionEngine class, allowing the user to generate output based...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Create a menu program, which includes a RecursionEngine class, allowing the user to generate output based upon a group of recursive algorithms, 8 of which I will specify, and two additional algorithms for you to devise on your own. Coding Requirements: 1. Create your Recursion Engine class to contain the 8 methods to generate output based upon the algorithms listed below 2. Create functions in your "container" class, which will serve as an engine to generate the menu, generate output for each algorithm as you choose. You may use various report formats with heading(s)/footer(s) if needed. 3. In main(), invoke the menu when the program starts and run each menu item, showing your output for each function. 4. The interactive menu will invoke functions to perform the following options. The menu should have validation to only accept 1..11 1. Binary to Decimal Conversion 2. Decimal to Binary Conversion 3. Decimal to Other Base 4. Factorial 5. Generate Fibonacci Numbers 6. Find Greatest Common Denominator 7. Raising a Number to a Power/Exponentiation 8. Sum Array Elements 9. Additional Algorithm 1 10. 11. Additional Algorithm 2 End Program Output Requirements: • Exercise all methods in your RecursionEngine to show their results/output • Provide input to the functions as needed • Make sure the output explains what it is doing and/or asking for input values Turning in Your Work: Required: Post the Word document with output samples separately from the .zip file with your code. Screenshots in the Word document should include the output samples in the console window displayed when you run the program. The output will be rather long, so you can just show individual runs for each screenshot. Create a menu program, which includes a RecursionEngine class, allowing the user to generate output based upon a group of recursive algorithms, 8 of which I will specify, and two additional algorithms for you to devise on your own. Coding Requirements: 1. Create your Recursion Engine class to contain the 8 methods to generate output based upon the algorithms listed below 2. Create functions in your "container" class, which will serve as an engine to generate the menu, generate output for each algorithm as you choose. You may use various report formats with heading(s)/footer(s) if needed. 3. In main(), invoke the menu when the program starts and run each menu item, showing your output for each function. 4. The interactive menu will invoke functions to perform the following options. The menu should have validation to only accept 1..11 1. Binary to Decimal Conversion 2. Decimal to Binary Conversion 3. Decimal to Other Base 4. Factorial 5. Generate Fibonacci Numbers 6. Find Greatest Common Denominator 7. Raising a Number to a Power/Exponentiation 8. Sum Array Elements 9. Additional Algorithm 1 10. 11. Additional Algorithm 2 End Program Output Requirements: • Exercise all methods in your RecursionEngine to show their results/output • Provide input to the functions as needed • Make sure the output explains what it is doing and/or asking for input values Turning in Your Work: Required: Post the Word document with output samples separately from the .zip file with your code. Screenshots in the Word document should include the output samples in the console window displayed when you run the program. The output will be rather long, so you can just show individual runs for each screenshot.
Expert Answer:
Answer rating: 100% (QA)
Creating a fullfledged program with a graphical user interface for the menu and handling the Word document output is beyond the capabilities of a text... View the full answer
Related Book For
Intermediate Accounting
ISBN: 978-1260481952
10th edition
Authors: J. David Spiceland, James Sepe, Mark Nelson, Wayne Thomas
Posted Date:
Students also viewed these computer network questions
-
RCT Instruments, Inc. operates in a highly competitive industry. The price its remote control device (switches) is stable at $ 140 each. The engineering department estimates the relevant total cost...
-
List three specific parts of the Case Guide, Objectives and Strategy Section (See below) that you had the most difficulty understanding. Describe your current understanding of these parts. Provide...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Suppose the United States imposes a tariff on imported sugar. What are the consequences of this on consumers, domestic and foreign producers, and land use?
-
One hundred college students were surveyed after voting in an election involving a Democrat and a Republican. There were 50 first-year students, 55 voted Democratic, and 25 were non-first-year...
-
Bee Company shows the following account amounts: Determine how much cash was generated from sales during 2011. 2011 2012 Sales S8,743,000 7,945,000 Accounts Receivable. 1231 459.000
-
The distribution coefficient (k) depends upon (a) Temperature only (b) Pressure only (c) Temperature and pressure only (d) Temperature, pressure and concentration
-
On July 1, Year 5, Big purchased 80% of the outstanding common shares of Little for $122,080. On that date, Little's equipment had a fair value that was $21,600 less than carrying amount. The...
-
April 4 - You register your business name with Service Ontario for $ 6 0 , using the business credit card. How will FF - Up record the April 4 transaction? ( 1 point ) increase Business Licence and...
-
Given the circuit in Fig. 3.53, calculate the currents i1 through i4? Figure 3.53 2A 0 IA
-
You are playing the dots and boxes game on a 3x3 grid shown below. Each player must draw an edge connecting two dots, if it doesn't already exist. The player who draws the 4th line that completes a...
-
Agazzi Company purchased equipment for \($304\),000 on October 1, 2015. It is estimated that the equipment will have a useful life of 8 years and a residual value of \($16\),000. Estimated production...
-
Presented below are three revenue recognition situations. (a) Grupo sells goods to MTN for \($1\),000,000, payment due at delivery. (b) Grupo sells goods on account to Grifols for \($800\),000,...
-
On March 1, 2016, Sealy Company sold its 5-year, 1,000 face value, 9% bonds dated March 1, 2016, at an effective annual interest rate (yield) of 11%. Interest is payable semiannually, and the first...
-
The management of Sprague Inc. was discussing whether certain equipment should be written off as a charge to current operations because of obsolescence. This equipment has a cost of \($900\),000 with...
-
Maserati Corporation purchased a new machine for its assembly process on August 1, 2015. The cost of this machine was 150,000. The company estimated that the machine would have a residual value of...
-
Which of the following rule applies to the partnership firm in the absence of a partnership deed? Equal profit sharing ratio Profit based salary to the partners No interest shall be charged on...
-
Why is a help desk and production support critical to system implementations? Discuss its interrelationship with the problem management and reporting system.
-
In addition to EPS numbers themselves, what additional disclosures should be provided concerning the EPS information?
-
On December 12, 2021, an equity investment costing $80,000 was sold for $100,000. The investment was carried in the balance sheet at $75,000, and was accounted for under the equity method. An error...
-
Alamar Petroleum Company offers its employees the option of contributing retirement funds up to 5% of their wages or salaries, with the contribution being matched by Alamar. The company also pays 80%...
-
Express the vibration of a machine given by \(x(t)=-3.0 \sin 5 t-2.0 \cos 5 t\) in the form \(x(t)=A \cos (5 t+\phi)\).
-
An exponential function is expressed as \(x(t)=A e^{-\alpha t}\) with the values of \(x(t)\) known at \(t=1\) and \(t=2\) as \(x(1)=0.752985\) and \(x(2)=0.226795\), respectively. Determine the...
-
If the motion of a machine is described as \(8 \sin (5 t+1)=A \sin 5 t+B \cos 5 t\), determine the values of \(A\) and \(B\).
Study smarter with the SolutionInn App