Programming assignment
Due on Tuesday December 15th at 11:59 pm.
Assignment 2: Algorithmic Design
This assignment will give you an opportunity to learn about using algorithm design in OOP.
Complete the following programs.
- Factorial numbers
In this assignment, you will write a program that provides the following features:
- The program will provide an interface that includes the following:
- A factorial button
- A recursion log (the multiline text box on the right of the interface)
- The program should perform the following functions:
- User can enter an integer from 1 to 10.
- When the user clicks the Factorial button, the program should compute and display the integer's factorial.
- The recursion log should display a message indicating when each recursive call was made.
- The interface should also indicate when the base case is reached, and it should list all values returned.
Save the program as Factional.cpp
- Algorithmic Design in Procedural Programming and OOP
In this assignment, you will complete the following tasks:
- Create a program that counts up to start with level = 1 and counting each level of recursion up to the base case.
- Modify the program so that it counts down instead of up.
- Make the changes necessary to enable it to start by setting the level to the base case.
- After the above steps are performed, the program should subtract 1 from the level above with each recursive call until you reach the base case.
- Save the program as Procedural.cpp.
Submission Details:
Embed the two programs in a Microsoft Word document with a description of your programming strategy.
Due on Tuesday, December 15, 2015
Thanks!
10 years ago
30
Answer(1)![blurred-text]()
![]()
Purchase the answer to view it

- g-006.docx
Bids(1)
other Questions(10)
- You are the Human Resources manager for large distribution site. Your recent employee opinion survey indicated that overall, employees felt that this was a good place to work. However, recent downturns in the economy have resulted in the loss of large con
- Last Modifications to CWM billing.java file
- Chemistry hw
- Create a program that analyzes a text file and counts
- Lakewood, Colorado Case Study Review
- Cultures in Transition Constructing A Modern State
- COM 200 Week 1 Assignment Article Critique Masking Poor Communication
- CJS 240 Week 4 Checkpoint Case Study Critique Checkpoint (Appendix C)
- CJS 240 Week 1 DQ 1 and DQ 2
- This is important information that will ensure that you earn maximum points. Your professionally written APA compliant postings, using appropriate sources should provide substantive depth that advances the Discussion. Also, please be sure to edit your po