Skip to content

Added Factorial recursive C++ implementation - #35

Open
cathreya wants to merge 2 commits into
till-tomorrow:masterfrom
cathreya:master
Open

Added Factorial recursive C++ implementation#35
cathreya wants to merge 2 commits into
till-tomorrow:masterfrom
cathreya:master

Conversation

@cathreya

@cathreya cathreya commented Oct 21, 2017

Copy link
Copy Markdown

#28 Rearranged into folders and added a c++ implementation for factorial

@till-tomorrow till-tomorrow left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • if(n < 1){
  •   return 1;
    
  • }

factorial does not exist for negative numbers.

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