Another good example of companion planting is sweet corn and pole beans ... If you want to keep a pumpkin from rotting, the first step is to not plant it near summer squash vegetables such ...