Browse Source

Update README.md

1274-oddlength
Hamza elkhatri 2 years ago committed by David Mata
parent
commit
d6544fb2db
  1. 10
      subjects/paramrange/README.md

10
subjects/paramrange/README.md

@ -2,10 +2,10 @@
### instructions
- Write a program that takes a number in the arguments and prints the max and min.
- If the number of arguments is less than 2 print (`'\n'`)
- If one of the arguments is not a number, print (`"Error\n"`)
- The output should be space-separated and (`'\n'`) at the end.
Write a program that takes a number in the arguments and prints the max and min.
- If the number of arguments is less than 2 print (`'\n'`)
- If one of the arguments is not a number, print (`"Error\n"`)
- The output should be space-separated and (`'\n'`) at the end.
### Usage
```console
@ -17,4 +17,4 @@ $ go run . -1 1 | cat -e
-1 1$
$ go run . 1 a 2 3 4 5 6 7 8 9 | cat -e
$
```
```

Loading…
Cancel
Save