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.
 
 
 
 
 
 

372 B

strrevprog

Instructions

  • Write a program that reverses a string and writes it in standard output.

Expected output :

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