1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
evablogger [386]
3 years ago
13

Which range of values would result in 10 elements stored in an array?

Computers and Technology
1 answer:
Paraphin [41]3 years ago
3 0

Answer:

0-9

Explanation:

count 0 as 1

len(0,1,2,3,4,5,6,7,8,9)=10

You might be interested in
What is procurement? Multiple Choice The purchasing of goods and services to meet the needs of the supply chain Includes the pro
fomenos

Answer:

The purchasing of goods and services to meet the needs of the supply chain

Explanation:

Procurement is usually associated with the buying of goods required to meet the need of the organisation.

The procurement department of any organizations is charged with the responsibility of purchasing goods and services for the organizations; they fill up whatever void is existing in the goods and services needed by the organisation.

6 0
3 years ago
Read 2 more answers
Explain why Austin takes close-up pictures of whales and displays them in life-size? worth 50 points
Gre4nikov [31]

The reason why Austin takes close - up pictures of and displays them in life - size is due to the fact that  he wants to give viewers an indelible view or opinion of what a whale is.

  • It also to give whales a background to bring out unexplored thought and emotion in a lot of ways that has been yet to pursued .

<h3>What are Whales?</h3>

This is known to be Animals that are said to be mostly distributed and have a lot of group of aquatic placental marine mammals.

They are known to belong to an informal grouping as they belong to the order Cetartiodactyla.

Learn more about pictures from

brainly.com/question/25938417

5 0
3 years ago
THE AVERAGE OF 6 NUMBERS IS 19 THE AVERAGE OF FIVE OF THESE IS 20 WHAT IS THE SIXTH NUMBER
Paraphin [41]
Let us consider a, b, c, d, e, f the six numbers.
If the average of 6 numbers is 19 then
(a + b + c + d + e + f)/6 = 19
=> a + b + c + d + e + f = 114 (1)
And if the average of 5 numbers is 20 then
(a + b + c + d + e)/5 = 20
=> a + b + c + d + e = 100 (2)
We will replace (2) in (1) And it will result that
100 + f = 114 => f=114, the sixth number.
8 0
3 years ago
Storage system that uses lasers to read data
tatuchka [14]

I believe it is an optical storage system that uses lasers to read data.

5 0
4 years ago
Read 2 more answers
Write the definition of the function inputArray that prompts the user to input 20 numbers and stores the numbers into alpha. Wri
Alina [70]

Answer:

In Java:

public static  int[] inputArray(){

   Scanner input = new Scanner(System.in);

   int[] alpha = new int[20];

   for(int i = 0;i<20;i++){

       alpha[i] = input.nextInt();

   }

   return alpha;}

public static  int[] doubleArray(int [] alpha){

   int[] beta = new int[20];

   for(int i = 0;i<20;i++){

       beta[i] = 2 * alpha[i];

   }

   return beta;

}

public static int[] copyAlphaBeta(int [] alpha, int [] beta){

   int [] AlphaBeta = new  int[10];

   for(int i = 0;i<5;i++){

       AlphaBeta[i] = alpha[i];

   }

   int count = 5;

   for(int i = 15;i<20;i++){

       AlphaBeta[count] = beta[i];

       count++;

   }

   return AlphaBeta;

}

public static void printArray(int [] alpha){

   for(int i = 0;i<20;i++){

       System.out.print(alpha[i]+" ");

       if((i+1)%15 == 0){

           System.out.println(" ");

       }

   }

}

Explanation:

The inputArray is defined here

public static  int[] inputArray(){

   Scanner input = new Scanner(System.in);

This declares alpha array of 20 elements

   int[] alpha = new int[20];

The following iteration gets input from the user into the array

<em>    for(int i = 0;i<20;i++){</em>

<em>        alpha[i] = input.nextInt();</em>

<em>    }</em>

This returns the alpha array

   return alpha;}

The doubleArray is defined here. It takes the alpha array as its input parameter

public static  int[] doubleArray(int [] alpha){

This declares beta of 20 integers

   int[] beta = new int[20];

This populates beta by 2 * alpha[i]

<em>    for(int i = 0;i<20;i++){</em>

<em>        beta[i] = 2 * alpha[i];</em>

<em>    }</em>

This returns the alpha array

   return beta;}

The copyAlphaBeta array is defines here

public static int[] copyAlphaBeta(int [] alpha, int [] beta){

This declares AlphaBeta as 10 elements

   int [] AlphaBeta = new  int[10];

This populates the first 5 elements of AlphaBeta with the first 5 of alpha

<em>    for(int i = 0;i<5;i++){</em>

<em>        AlphaBeta[i] = alpha[i];</em>

<em>    }</em>

   int count = 5;

This populates the last 5 elements of AlphaBeta with the last 5 of beta

<em>    for(int i = 15;i<20;i++){</em>

<em>        AlphaBeta[count] = beta[i];</em>

<em>        count++;</em>

<em>    }</em>

This returns the AlphaBeta array

   return AlphaBeta;

}

The printArray is defined here. It takes the alpha array as its input parameter

public static void printArray(int [] alpha){

This iterates through alpha array

   for(int i = 0;i<20;i++){

This prints each element of the array

       System.out.print(alpha[i]+" ");

A new line is started after the 15th element

<em>        if((i+1)%15 == 0){</em>

<em>            System.out.println(" ");</em>

<em>        }</em>

   }

}

See attachment for complete program which includes the main

Download txt
4 0
3 years ago
Other questions:
  • Your company is implementing a wireless network and is concerned that someone from a competing company could stand outside the b
    10·1 answer
  • You've found an image you want to insert into your slide presentation. You
    7·2 answers
  • Studying MyMagic+ helps one understand the costs associated with information systems deployment at scale. According to your read
    12·1 answer
  • Implement a C program to solve the 15-puzzle problem using the A* search algorithm.
    10·1 answer
  • File Letter Counter
    14·1 answer
  • Assume hosts A and B are each connected to a switch Svia 100-Mbps links. The propagation delay on each link is 25μs. The switch
    15·1 answer
  • Explain the correct ways of using keyboard. .​
    14·1 answer
  • A(n) ________ is the portion of virus code that is unique to a particular computer virus. A) virus signature B) encryptio
    12·1 answer
  • A retailer is able to track which products draw the most attention from its customers through the use of 5G-enabled motion senso
    8·1 answer
  • Please help!!!
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!