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.
 
 
 
 
Christopher Fremond 392b221331 Adding of a new exercise printrot. 4 years ago
..
README.md Adding of a new exercise printrot. 4 years ago

README.md

printrot

Instructions

Write a program that takes a lower case letter and goes around in order to display the whole alphabet starting from this letter on a single line.

A line is a sequence of characters preceding the end of line character ('\n').

If the input is invalid the program prints a newline ('\n').

Usage

student@ubuntu:~/[[ROOT]]/test$ go build
student@ubuntu:~/[[ROOT]]/test$ ./test "abc"

student@ubuntu:~/[[ROOT]]/test$ ./test "a"
abcdefghijklmnopqrstuvwxyz
student@ubuntu:~/[[ROOT]]/test$ ./test "g"
ghijklmnopqrstuvwxyzabcdef
student@ubuntu:~/[[ROOT]]/test$ ./test "a" "a"

student@ubuntu:~/[[ROOT]]/test$ ./test "A"

student@ubuntu:~/[[ROOT]]/test$