Which two code segments are possible ways to achieve this goal? (Each correct answer presents a complete solution