Browse Source

Update of alphamirror instructions

standardization of isntructions
pull/71/head
Frenchris 5 years ago
parent
commit
472101c7b5
  1. 20
      subjects/alphamirror.md

20
subjects/alphamirror.md

@ -1,20 +1,20 @@
# alphamirror
## Instructions
## alphamirror
### Instructions
Write a program called alpha_mirror that takes a string and displays this string
after replacing each alphabetical character by the opposite alphabetical
character, followed by a newline.
Write a program called alphamirror that takes a string as argument and displays this string
after replacing each alphabetical character with the opposite alphabetical
character.
The case of the letter stays the same, for example :
'a' becomes 'z', 'Z' becomes 'A'
'd' becomes 'w', 'M' becomes 'N'
and so on.
Case is not changed.
The final result will be followed by a newline.
If the number of arguments is not 1, display only a newline.
If the number of arguments is not 1, the program will display only a newline.
And its output :
Example of output :
```console
student@ubuntu:~/student/alphamirror$ go build

Loading…
Cancel
Save