mirror of https://github.com/01-edu/public.git
hamza
2 years ago
committed by
José Rosendo
2 changed files with 16 additions and 16 deletions
@ -0,0 +1,16 @@ |
|||||||
|
## displays |
||||||
|
|
||||||
|
### Instructions |
||||||
|
|
||||||
|
Write a program that displays an `S` character on the standard folowed by newlines (`'\n'`) |
||||||
|
|
||||||
|
### Usage |
||||||
|
|
||||||
|
```console |
||||||
|
$ go run . | cat -e |
||||||
|
S$ |
||||||
|
$ go run . "a" "b" | cat -e |
||||||
|
S$ |
||||||
|
$ go run . "a" "b" "c" | cat -e |
||||||
|
S$ |
||||||
|
``` |
@ -1,16 +0,0 @@ |
|||||||
## onlys |
|
||||||
|
|
||||||
### Instructions |
|
||||||
|
|
||||||
Write a program that displays an `S` character on the standard output. (and nothing else) |
|
||||||
|
|
||||||
### Usage |
|
||||||
|
|
||||||
```console |
|
||||||
$ go run . |
|
||||||
S |
|
||||||
$ go run . "a" "b" |
|
||||||
S |
|
||||||
$ go run . "a" "b" "c" |
|
||||||
S |
|
||||||
``` |
|
Loading…
Reference in new issue