fix: make expected results more descriptive for numbers/circle-area exercise #2

This commit is contained in:
Inanc Gumus
2018-11-07 23:21:41 +03:00
parent 7e1dca66fe
commit a959190208

View File

@ -24,15 +24,14 @@ import (
// For PI you can use `math.Pi`
//
// EXPECTED OUTPUT
// go run main.go 10
// radius: 10 -> area: 314.1592653589793
// 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 :)
// 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
// EXPECTED OUTPUT
// radius: 10 -> area: 314.16
// ---------------------------------------------------------