Question: 13.22 Lab Program: Simple Arrays Analyzing Football Players' Weights Do not hardcode the number 5 in your code. Use the provided constant instead NOTE: JavaDoc


13.22 Lab Program: Simple Arrays Analyzing Football Players' Weights Do not hardcode the number 5 in your code. Use the provided constant instead NOTE: JavaDoc style documentation is required for this program Test 1: Using loops Prompt the user to enter 5 pairs of numbers, that are 5 player's jersey numbers and weights Store the jersey numbers in an array of integers Store the weights in an array of doubles Output the values entered, one player per line, with one space between the jersey number and weight. Example Enter jersey number for player 1: 34 Enter weight for player 1: 96.6 Enter jersey number for player 2: 87 Enter weight for player 2: 212.2 Enter jersey number for player 3: 49 Enter weight for player 3: 150.5 Enter jersey number for player 4: 26 Enter weight for player 4: 120.1 Enter jersey number for player 5: Enter weight for player 5: 175 You entered jersey numbers and weights: 34 96.6 87 212.2 49 150.5 26 120.1 77 175.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
