0
4.5kviews
Each year, sleepy Hollow Elementary School holds a "Principal for a day" lottery.
| written 9.7 years ago by | • modified 9.1 years ago |
A student can participate by entering his/her name and ID into a pool of candidates. The winner is selected randomly from all entries. Each student is allowed only one entry. Implement a Student Class that encapsulates the Student. Implement StudentLottery class with methods addStudents() and pickWinner() and main().
Hint: use random class to pick winner.
Marks: 10 M
Year: Dec 2014
ADD COMMENT
EDIT
1 Answer

and 2 others joined a min ago.
can you show the output please?