From 472101c7b5c8cd64cb0630e354ab5ded739ec2d4 Mon Sep 17 00:00:00 2001 From: Frenchris <34804391+Frenchris@users.noreply.github.com> Date: Tue, 23 Apr 2019 17:12:28 +0100 Subject: [PATCH] Update of alphamirror instructions standardization of isntructions --- subjects/alphamirror.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/subjects/alphamirror.md b/subjects/alphamirror.md index 1be50bf1..b57a7995 100644 --- a/subjects/alphamirror.md +++ b/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