Browse Source

docs(replaceeven): fix subject

DEV-4017-prototypes-exercise-1-animals
jrosendo 2 years ago committed by José Rosendo
parent
commit
420d54d1cc
  1. 6
      subjects/replaceeven/README.md

6
subjects/replaceeven/README.md

@ -4,14 +4,14 @@
Write a program that takes every character with an even index, of each argument and replace it with the number 2. Write a program that takes every character with an even index, of each argument and replace it with the number 2.
- you program should always print `\n` at the end. - you program should always print a newline `\n` at the end.
- you program should print all the arguments in one line, separated by the space character `' '`. - you program should print all the arguments in one line, separated by the space character `' '`.
- zero is an even number. - `0` is an even number.
### Usage ### Usage
```sh ```console
$ go run . | cat -e $ go run . | cat -e
$ $
$ go run . hello 444444444444444 | cat -e $ go run . hello 444444444444444 | cat -e

Loading…
Cancel
Save