Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create factorial.cpp #79

Merged
merged 3 commits into from
Oct 16, 2020
Merged

Create factorial.cpp #79

merged 3 commits into from
Oct 16, 2020

Conversation

qdtroemner
Copy link
Contributor

@qdtroemner qdtroemner commented Oct 15, 2020

Problem

  • No C++ Factorial algorithm

Solution

  • Implements a C++ factorial script

Changes proposed in this Pull Request :

  • 1. Add factorial script in C++ factorial.cpp
  • 2. Updates contributors.html

Removed ability to take the factorial of negative numbers. Now returns 0.
@fineanmol fineanmol merged commit 01a6d83 into fineanmol:master Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants