subject

Given a specified number of classes, this program will generate a schedule consisting of that many classes. Config. java contains a 2D String array where the first array contains class names, and the second is a parallel array containing the names of the professors of those classes. Config also contains the SEED to be used for the random number generator in your program. Example interleaved output:

Welcome to schedule generator!
How many classes would you like to take?
3
ENGLISH with PROF. BEN
MATH with PROF. WILLIAMS
BIOLOGY with PROF. AMOS
Would you like to generate another schedule? y - yes, n - no
y
How many classes would you like to take?
13
Please choose between 0 and 6 classes.
How many classes would you like to take?
2
BIOLOGY with PROF. AMOS
CHEMISTRY with PROF. ARCHER
Would you like to generate another schedule? y - yes, n - no
n
Goodbye
Review Config. java for classes array format; suggested method completion order: generateSchedule, printSchedule, then your main method.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:40, debo4965
Amain idea is supported, explained, or expanded on with a numbers b. a concluding statement c. details d. a topic sentence. im e paragraphs reset nex next
Answers: 2
image
Computers and Technology, 23.06.2019 03:50, nakeytrag
Iam a bacterium. i cause stomach cramps and diarrhea. i am caused by eating rotten foodssuch as chicken, fish, or eggs. sometimes turtles carry my bacteria. what am i?
Answers: 2
image
Computers and Technology, 23.06.2019 19:40, Latoyajenjins1789
Use a physical stopwatch to record the length of time it takes to run the program. calculate the difference obtained by calls to the method system. currenttimemillis() just before the start of the algorithm and just after the end of the algorithm. calculate the difference obtained by calls to the method system. currenttimemillis() at the start of the program and at the end of the program so that the elapsed time includes the display of the result. use the value returned by the method system. currenttimemillis() just after the end of the algorithm as the elapsed time.
Answers: 3
image
Computers and Technology, 23.06.2019 22:00, bb1593
Jackson, who works in the finance department of a company, is holding a seminar for other employees on how to file taxes. only three employees sign up to attend the seminar. which device can he use to share his presentation with a group of three employees?
Answers: 1
You know the right answer?
Given a specified number of classes, this program will generate a schedule consisting of that many c...

Questions in other subjects:

Konu
Biology, 08.03.2021 17:20