mirror of https://github.com/01-edu/public.git
parent
2e3a5a5974
commit
bbf9164565
|
@ -7,14 +7,14 @@ Write a **program** that prints the name of the program.
|
|||
Example of output :
|
||||
|
||||
```console
|
||||
$ go build main.go
|
||||
$ ./main
|
||||
student/piscine/printprogramname$ go build main.go
|
||||
student/piscine/printprogramnane$ ./main
|
||||
main
|
||||
$ go build
|
||||
$ ./printprogramname | cat -e
|
||||
student/piscine/printprogramname$ go build
|
||||
student/piscine/printprogramname$ ./printprogramname | cat -e
|
||||
printprogramname$
|
||||
$ go build -o Nessy
|
||||
$ ./Nessy
|
||||
student/piscine/printprogramname$ go build -o Nessy
|
||||
student/piscine/printprogramname$ ./Nessy
|
||||
Nessy
|
||||
$
|
||||
student/piscine/printprogramname$
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue