diff --git a/06-variables/05-type-conversion/exercises/02-convert-and-fix-2/main.go b/06-variables/05-type-conversion/exercises/02-convert-and-fix-2/main.go index ccad2e2bb..d0aa2c01d 100644 --- a/06-variables/05-type-conversion/exercises/02-convert-and-fix-2/main.go +++ b/06-variables/05-type-conversion/exercises/02-convert-and-fix-2/main.go @@ -18,7 +18,7 @@ package main // --------------------------------------------------------- func main() { - // a, b := 10, 5.5 - // a = b - // fmt.Println(a + b) + a, b := 10, 5.5 + a = int(b) + fmt.Println(float64(a) + b)) }