Skip to content

Commit 6c89452

Browse files
Update README.md
1 parent 3bbe117 commit 6c89452

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

exercises/21-factorial/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# `21` Factorial
22

3-
## 📝 Instructions
3+
## 📝 Instructions:
44

55
1. Create a function named `factorial` which receives a number as parameter and returns the factorial of the given numbers.
66

7-
Example input:
7+
## Example input:
88

99
```bash
10-
8
10+
factorial(8)
1111
```
1212

13-
Then, the output should be:
13+
## Example output:
1414

1515
```bash
1616
40320
1717
```
1818

1919
## 💡 Hints:
2020

21-
- If you don't know what a factorial is, you can check it out on this link: https://www.cuemath.com/numbers/factorial/
21+
+ 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

Comments
 (0)