Update README.md

This commit is contained in:
Hamza elkhatri 2022-06-15 10:46:22 +01:00 committed by David Mata
parent 97464fd121
commit d119045dc5
1 changed files with 3 additions and 3 deletions

View File

@ -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