April 17, 2018
Today’s lab is centered on the code we just studied: start by downloading it.
Start by compiling and executing the code. Then, modify the content of the main
method:
Game
object,SetTime
method. Try insetring abnormal values (i.e., 14 for the month): what happens?string
array, and the scores of the players presented in a int
array.AddPlayers
that takes an integer parameter and add the number given as parameters players, and ask for their names. You can call the AddAPlayer
from that method to make your job easier!No “pushing further” today.