mirror of https://github.com/01-edu/public.git
487 B
487 B
printprogramname
Instructions
Write a program that prints the name of the program.
Example of output :
student/piscine/printprogramname$ go build main.go
student/piscine/printprogramnane$ ./main
main
student/piscine/printprogramname$ go build
student/piscine/printprogramname$ ./printprogramname | cat -e
printprogramname$
student/piscine/printprogramname$ go build -o Nessy
student/piscine/printprogramname$ ./Nessy
Nessy
student/piscine/printprogramname$