Hey there! This problem might be a bit unpredictable, but give it a go and let us know how you do!
Consider the following code snippet in Golang. What will be the output of this program? package main
import (
"fmt"
"math"
)
func main() {
var a float64 = -10.5
var b float64 = 15.7
var c float64 = -20.8
resultA := math.Abs(a)
resultB := math.Floor(b)
resultC := math.Ceil(c)
fmt.Println(resultA, resultB, resultC)
}