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

This commit is contained in:
Inanc Gumus
2018-11-07 23:20:26 +03:00
parent 39b095e670
commit 7e1dca66fe

View File

@ -24,12 +24,16 @@ import (
// For PI you can use `math.Pi` // For PI you can use `math.Pi`
// //
// EXPECTED OUTPUT // EXPECTED OUTPUT
// 314.1592653589793 // go run main.go 10
// radius: 10 -> area: 314.1592653589793
// //
// BONUS EXERCISE! // BONUS EXERCISE!
// 1. Print the area as 314.16 // 1. Print the area as 314.16
// 2. To do that you need to use the correct Printf verb :) // 2. To do that you need to use the correct Printf verb :)
// Instead of `%g` verb below. // Instead of `%g` verb below.
//
// go run main.go 10
// radius: 10 -> area: 314.16
// --------------------------------------------------------- // ---------------------------------------------------------
func main() { func main() {