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.
 
 
 
 
 
 
Hamza elkhatri 9bff4b857b Update README.md 2 years ago
..
README.md Update README.md 2 years ago

README.md

frontback

Instructions

Write a program that prints the previous and next alphabet of the alphabet.

  • If the number of arguments is different from 1, print ('\n').
  • If the length of the argument is different from 1, print ('\n')
  • If the argument is not a letter, print ('\n')
  • Print the previous alphabet and the next alphabet except for the last and the first alphabet of the alphabet.

Usage

$ go run . | cat -e 
$
$ go run . a | cat -e
ab$
$ go run . "B" | cat -e
ABC$
$ go run . "z" | cat -e
yz$
$ go run . "Hello World!" | cat -e
$
$ go run . "1" | cat -e
$