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.
21 lines
688 B
21 lines
688 B
4 years ago
|
## printalphabetalt2
|
||
|
|
||
|
### Instructions
|
||
|
|
||
|
Write a program that:
|
||
|
|
||
|
- first prints the Latin alphabet alternatively in uppercase and lowercase in order (from `'A'` to `'z'`) on a single line.
|
||
|
- second prints the Latin alphabet alternatively in uppercase and lowercase in reverse order (from `'Z'` to `'a'`) on a single line.
|
||
|
|
||
|
A line is a sequence of characters preceding the [end of line](https://en.wikipedia.org/wiki/Newline) character (`'\n'`).
|
||
|
|
||
|
### Usage
|
||
|
|
||
|
```console
|
||
|
student@ubuntu:~/[[ROOT]]/printalphabetalt2$ go build
|
||
|
student@ubuntu:~/[[ROOT]]/printalphabetalt2$ ./printalphabetalt2
|
||
|
AbCdEfGhIjKlMnOpQrStUvWxYz
|
||
|
ZyXwVuTsRqPoNmLkJiHgFeDcBa
|
||
|
student@ubuntu:~/[[ROOT]]/printalphabetalt2$
|
||
|
```
|