Skip to content

Factorial - C# #1

@kcforsman

Description

@kcforsman

Write algorithm that computes the factorial of a given input non-negative integer.

  • 0! = 1
  • 3! = 3 * 2 * 1 = 6
  • 6! = 720
  • n! = n * (n-1)! if n > 0 = n * (n-1) * (n-2) * ... * 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    C#Solved with C#

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions