You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
xpetit 32eddefd09
Remove template variable [[ROOT]] from subjects and fix subjects
4 years ago
..
README.md Remove template variable [[ROOT]] from subjects and fix subjects 4 years ago

README.md

printprogramname

Instructions

Write a program that prints the name of the program.

Example of output :

student@ubuntu:~/printprogramname$ go build main.go
student@ubuntu:~/printprogramname$ ./main
main
student@ubuntu:~/printprogramname$ go build
student@ubuntu:~/printprogramname$ ./printprogramname | cat -e
printprogramname$
student@ubuntu:~/printprogramname$ go build -o Nessy
student@ubuntu:~/printprogramname$ ./Nessy
Nessy
student@ubuntu:~/printprogramname$