Answer:
- import java.util.Scanner;
-
- public class Main {
- public static void main (String [] args) {
-
- int jersey_num [] = new int[5];
- int rating [] = new int[5];
-
- Scanner inStream = new Scanner(System.in);
-
- for(int i=0; i < 5; i++){
- System.out.print("Enter player " + (i+1) + "'s jersey number:");
- jersey_num[i] = inStream.nextInt();
-
- System.out.print("Enter player " + (i+1) + "'s rating:");
- rating[i] = inStream.nextInt();
- }
-
- System.out.println("ROSTER");
-
- for(int j=0; j < 5; j++){
- System.out.println("Player " + (j+1) + "-- Jersey number: " + jersey_num[j] + ", Rating: " + rating[j]);
- }
- }
- }
Explanation:
The solution code is written in Java. Firstly create two array, jersey_num and rating, with int type. This is to hold the five pairs of numbers input by user (Line 6 -7).
Next, create a for loop that run for 5 iterations and in each iteration prompt user to input jersey number and rating (Line 11 -17). The input number and rating will be set to the array, jersey_num and rating, respectively.
Next, print the title "Roster" (Line 19).
Create another for loop to display the five input pair of values (Line 21 - 23).
Answer:
False
Explanation:
If your computer requires that you install memory in pairs you should always keep in mind that
1. Both are the same type(DDR4+DDR4, DDR3+DDR3, DDR2+DDR2...)
2. Both are the same size (2GB+2GB, 4GB+4GB, 8GB+8GB...)
3. Both are the same speed (800MHz+800MHz, 1666MHz+1666MHz, 3200MHz+3200MHz...)
This is important, because of the predefined slots that are located on the Motherboard.
Although you can change the RAM speed from the BIOS you can not change the predefined slot values
Yes, computers may actually progressively and simply just degenerate and regress humans socially, emotionally, and actually, even physically, because there is not enough face to face interaction and if you are staring at computer all day, no exercise at all.