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.
|
|
|
## printreversealphabetalt
|
|
|
|
|
|
|
|
### Instructions
|
|
|
|
|
|
|
|
Write a program that:
|
|
|
|
|
|
|
|
- first prints the Latin alphabet alternatively in lowercase and uppercase in reverse order (from `'z'` to `'A'`) on a single line.
|
|
|
|
- second prints the Latin alphabet alternatively in lowercase and uppercase in order (from `'a'` to `'Z'`) on a single line.
|
|
|
|
|
|
|
|
A line is a sequence of characters preceding the [end of line](https://en.wikipedia.org/wiki/Newline) character (`'\n'`).
|
|
|
|
|
|
|
|
Please note that `casting` is not allowed for this exercise!
|
|
|
|
|
|
|
|
### Usage
|
|
|
|
|
|
|
|
```console
|
|
|
|
student@ubuntu:~/printreversealphabetalt$ go build
|
|
|
|
student@ubuntu:~/printreversealphabetalt$ ./printreversealphabetalt
|
|
|
|
zYxWvUtSrQpOnMlKjIhGfEdCbA
|
|
|
|
aBcDeFgHiJkLmNoPqRsTuVwXyZ
|
|
|
|
student@ubuntu:~/printreversealphabetalt$
|
|
|
|
```
|