mirror of https://github.com/01-edu/public.git
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
|
4 years ago | |
---|---|---|
.. | ||
README.md | 4 years ago |
README.md
printaltu2
Instructions
Write a program that prints the Latin alphabet in uppercase alternatively with the last and first letters, then with the second to last and second letters, and so on until all the alphabet letters are displayed on a single line.
A line is a sequence of characters preceding the end of line character ('\n'
).
Please note that casting
is not allowed for this exercise!
Usage
student@ubuntu:~/printaltu2$ go build
student@ubuntu:~/printaltu2$ ./printaltu2
ZAYBXCWDVEUFTGSHRIQJPKOLNM
student@ubuntu:~/printaltu2$