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 :
|
Example of output :
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ go build main.go
|
student/piscine/printprogramname$ go build main.go
|
||||||
$ ./main
|
student/piscine/printprogramnane$ ./main
|
||||||
main
|
main
|
||||||
$ go build
|
student/piscine/printprogramname$ go build
|
||||||
$ ./printprogramname | cat -e
|
student/piscine/printprogramname$ ./printprogramname | cat -e
|
||||||
printprogramname$
|
printprogramname$
|
||||||
$ go build -o Nessy
|
student/piscine/printprogramname$ go build -o Nessy
|
||||||
$ ./Nessy
|
student/piscine/printprogramname$ ./Nessy
|
||||||
Nessy
|
Nessy
|
||||||
$
|
student/piscine/printprogramname$
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue