From 7e1dca66fe2014c838533f2cc9b8329e2cbb73c5 Mon Sep 17 00:00:00 2001 From: Inanc Gumus Date: Wed, 7 Nov 2018 23:20:26 +0300 Subject: [PATCH] fix: make expected results more descriptive for numbers/circle-area exercise --- .../01-numbers/exercises/07-circle-area/main.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/08-numbers-and-strings/01-numbers/exercises/07-circle-area/main.go b/08-numbers-and-strings/01-numbers/exercises/07-circle-area/main.go index efe858e..5e96e1e 100644 --- a/08-numbers-and-strings/01-numbers/exercises/07-circle-area/main.go +++ b/08-numbers-and-strings/01-numbers/exercises/07-circle-area/main.go @@ -24,12 +24,16 @@ import ( // For PI you can use `math.Pi` // // EXPECTED OUTPUT -// 314.1592653589793 +// go run main.go 10 +// radius: 10 -> area: 314.1592653589793 // // BONUS EXERCISE! // 1. Print the area as 314.16 // 2. To do that you need to use the correct Printf verb :) // Instead of `%g` verb below. +// +// go run main.go 10 +// radius: 10 -> area: 314.16 // --------------------------------------------------------- func main() {