FightSong
Go, team, go! You can do it. Go, team, go! You can do it. You're the best, In the West. Go, team, go! You can do it. Go, team, go! You can do it. You're the best, in the West. Go, team, go! You can do it. Go, team, go! You can do it.
The following program produces the output at left, but it has poor structure and redundancy. Download it and open it in jGRASP, then add at least two static methods.
continued on the next slide...
FightSong, cont'dGo, team, go! You can do it.
Go, team, go! You can do it. You're the best, In the West. Go, team, go! You can do it.
Go, team, go! You can do it. You're the best, In the West. Go, team, go! You can do it.
Go, team, go! You can do it.
Did you choose your methods well? Avoid the following pitfalls:
println statement occur more than once in your code?
println statements in the main method?
main method a good summary of the overall program? (If main is only 1-2 lines long, it is not a good summary.)
Compare your method choice with your neighbor's. Discuss any different decisions you made and ask a TA if you have questions about them.