From d119045dc539468061aaa424f9068be802f3fd88 Mon Sep 17 00:00:00 2001 From: Hamza elkhatri <40549481+Hamzaelkhatri@users.noreply.github.com> Date: Wed, 15 Jun 2022 10:46:22 +0100 Subject: [PATCH] Update README.md --- subjects/alphaposition/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subjects/alphaposition/README.md b/subjects/alphaposition/README.md index 3a5058ae..5a776faa 100644 --- a/subjects/alphaposition/README.md +++ b/subjects/alphaposition/README.md @@ -1,6 +1,6 @@ ## alpha-position -## instructions +### Instructions Write a function named `AlphaPosition` that takes an alphabetical character as a parameter and returns the position of the letter in the alphabet. - If the character is not in the alphabet, return -1 @@ -14,7 +14,7 @@ func AlphaPosition(c rune) int { } ``` -### usage +### Usage ```go package main @@ -31,7 +31,7 @@ func main(){ } ``` -### output +And its output : ```console $ go run . | cat -e