public/subjects/printalphabetalt2/README.md

537 B

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 character ('\n').

Usage

$ go run .
AbCdEfGhIjKlMnOpQrStUvWxYz
ZyXwVuTsRqPoNmLkJiHgFeDcBa
$