Browse Source

small fix

pull/1327/head
MSilva95 2 years ago committed by Dav Hojt
parent
commit
55529af70a
  1. 4
      subjects/printrange/README.md

4
subjects/printrange/README.md

@ -6,8 +6,8 @@ Write a function called `PrintRange` that given a range between two numbers, pri
- If the starting number is greater than the ending number, print the numbers in descending order, otherwise in ascending order.
- If the number is greater than `9` print only up to `9`
- If the number is less than '0' print only up to '0'
- If both numbers are less than `0` print (`'\n'`), the same applies when both numbers are greater than 9.
- If the number is less than `0` print only up to `0`
- If both numbers are less than `0` print (`'\n'`), the same applies when both numbers are greater than `9`.
- The output must be separated by spaces and (`'\n'`) at the end.
### Expected function

Loading…
Cancel
Save