Skip to content

The factorial of a positive integer n is defined as the product of the sequence , n-1, n-2, ...1 and the factorial of 0 is defined as being 1. Solve this using both loops and recursion.

License

Notifications You must be signed in to change notification settings

codeslacker1155/Factorial-Finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Factorial-Finder

The factorial of a positive integer n is defined as the product of the sequence , n-1, n-2, ...1 and the factorial of 0 is defined as being 1. Solve this using both loops and recursion.

Description

The factorial of a positive integer n is defined as the product of the sequence , n-1, n-2, ...1 and the factorial of 0 is defined as being 1. Solve this using both loops and recursion. The program is a static command line program to find the factorial values of numbers for some given number of inputs.

Getting Started

Dependencies

  • NO DEPENDENCIES REQUIRED!!!

Installing

  • No real install needed, just make sure you have the bash terminal updated
sudo apt update
sudo apt upgrade

Executing program

  • Run the program like any other common bash script.
python factorial.py

Help

Common problems or issues are that you are not using an authorized user and need to switch to root.

sudo python factorial.py

Authors

Contributors names and contact info

Christopher Hyatt (me)

Version History

License

This project is licensed under the [GNU Privacy v3] License - see the LICENSE.md file for details

Acknowledgments

Inspiration taken from a list of basic programs to make in any language that I have in a random text file of ideas.

About

The factorial of a positive integer n is defined as the product of the sequence , n-1, n-2, ...1 and the factorial of 0 is defined as being 1. Solve this using both loops and recursion.

Topics

Resources

License

Stars

Watchers

Forks

Languages