Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void main(int[] args)
- {
- Ball golf = new Ball("golfball", "white", "hard", 1);
- // do the same for the other balls
- // print to the console the values of each ball
- // take in input from user
- golf.SetName(Console.ReadLine());
- // print the new values of each Ball
- }
Add Comment
Please, Sign In to add comment