From 9962ae8f5b803bbb26a530c7ceb53610575156e3 Mon Sep 17 00:00:00 2001 From: jrosendo Date: Thu, 10 Nov 2022 14:00:11 +0000 Subject: [PATCH] docs(rectperimeter): added output example --- subjects/rectperimeter/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subjects/rectperimeter/README.md b/subjects/rectperimeter/README.md index f72ed847e..ce488d00e 100644 --- a/subjects/rectperimeter/README.md +++ b/subjects/rectperimeter/README.md @@ -30,6 +30,7 @@ import ( func main() { fmt.Println(piscine.RectPerimeter(10, 2)) fmt.Println(piscine.RectPerimeter(434343, 898989)) + fmt.Println(piscine.RectPerimeter(10, -2)) } ``` @@ -39,5 +40,6 @@ And its output: $ go run . 24$ 2666664$ +-1$ $ ```