package main import ( "fmt" ) type Good struct { price int value int relyOn int id int attachment []Good } func (c *Good) AddAttachment(good Good) { c.attachment = append(c.attachment, good) } func (c *Good) CalculateSatisfaction(n int) int { switch n { case 0: re...