Instructions:
- Fork this repository to your GitHub account.
- Clone the forked repository locally to your machine.
- Create a new branch named Feature01.
Objective: You might be sick of the factorial method by now, but we’re going to do one more version.
- In the class Big, write an iterative version of factorial (using a for loop).
- Write a method to display a table of the integers from 0 to 30 along with their factorials.
- At some point around 15, you will probably see that the answers are not correct anymore.
- Why not?
ANSWER Why not? HERE
- Convert factorial so that it performs its calculation using BigIntegers and returns a BigInteger as a result.
- You can leave the parameter alone; it will still be an integer.
- Try displaying the table again with your modified factorial method.
- Is it correct up to 30?
- How high can you make it go?
ANSWER #4 HERE
Follow these steps for submission:
- Create a Feature01 branch of your code if you haven't already.
- Commit your working code for the exercises to your local copy/Feature01 branch.
- Push it to your Remote/origin branch (i.e., GitHub: Feature01 -> origin/Feature01).
- Issue a Pull request to my instructor repo.
- Make sure to COPY the Pull request URL and submit it for the lab/assignment in Canvas.