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.
 
 
 
 
 
 

526 B

printstrprog

Instructions

  • Write a program that prints one by one the characters of a string pass as an argument of the program.

Expected output :

student@ubuntu:~/piscine-go/printstrprog$ go build
student@ubuntu:~/piscine-go/printstrprog$ ./printstrprog Hello World!
Hello World!
student@ubuntu:~/piscine-go/printstrprog$ ./printstrprog
student@ubuntu:~/piscine-go/printstrprog$
student@ubuntu:~/piscine-go/printstrprog$ ./printstrprog "Hello" "World"
student@ubuntu:~/piscine-go/printstrprog$