function change(cash) { // Your code goes here return { two: 0, five: 0, ten: 0 }; }
func change(cash int) map[string]int {
result := make(map[string]int)
ten := cash / 10
result["ten"] = ten
cash %= 10
five := cash / 5
result["five"] = five
cash %= 5
two := cash / 2
result["two"] = two
return result
}