JMU
logoArchetypes.png
Going Further on Programming Assignment 6


This question/problem/task allows you to go further on Programming Assignment 6. It is neither required nor for extra credit. It will, however, help you gain a deeper understanding of the material.
1 Tasks: Modify your system so that it supports an arbitrary number of events (rather than the two it currently supports).

When started, the application must prompt the user for the "Number of Events:". The, for each event it must prompt the user for the "Title:" and the "Number of Judges:".

The advertisements to display at each event must be chosen randomly. That is, the application must use the static Math.random() method to generate a random number and select one of the four ads for the left ad and one of the four ads for the right ad. (The two ads may be the same.)

After constructing all of the ScoreBoard objects the application must work as before, with one exception. Now, in respons to the "Event:" prompt, the user will enter a number (corresponding to the order in which the event titles were entered).

Copyright 2013