Question:

Arrays java question...

by  |  earlier

0 LIKES UnLike

Assume that a constant NO_CONTESTANTS which stores the value 5 has been declared.

Using the constant NO_CONTESTANTS, declare two arrays contestantNames and contestantScores to store the names and scores (from a scale of 0.0 to 10.0) for 5 contestants in a singing contest.

Can someone guide me through this?

P/S: In java language.

 Tags:

   Report

1 ANSWERS


  1. This is similar to the exercise about an array with 5 student names and getting the 5 student scores.  This sort of thing is called "parallel arrays".

    Link to formatted code:

    http://www.kaydell.com/forums/read.php?8...

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.