We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bbe117 commit 6c89452Copy full SHA for 6c89452
exercises/21-factorial/README.md
@@ -1,21 +1,21 @@
1
# `21` Factorial
2
3
-## 📝 Instructions
+## 📝 Instructions:
4
5
1. Create a function named `factorial` which receives a number as parameter and returns the factorial of the given numbers.
6
7
-Example input:
+## Example input:
8
9
```bash
10
-8
+factorial(8)
11
```
12
13
-Then, the output should be:
+## Example output:
14
15
16
40320
17
18
19
## 💡 Hints:
20
21
-- If you don't know what a factorial is, you can check it out on this link: https://www.cuemath.com/numbers/factorial/
++ If you don't know what a factorial is, you can check it out on this link: https://www.cuemath.com/numbers/factorial/
0 commit comments