the output should be a valid number not 0 but i get 0 as output, i looked every where, docs, stackoverflow, gfg and i didn;t find anything, please help me. this is my code, please help (the output must be 'weight / (height * height)* 10000))
package main
import "fmt"
func calculate(height int, weight int) int{
var x = height * height
var y = weight
var z = y / x
var n = z * 10000
return n
}
func main() {
fmt.Println(calculate(160, 40))
}