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
Dmitrij [34]
3 years ago
11

Assume you are given an int variable named nElements and a 2-dimensional array that has been created and assigned to a2d. Write

one or more statements that assign to nElements the total number of elements that could be stored in the entire 2-dimensional array.
Physics
1 answer:
lozanna [386]3 years ago
8 0

Answer:

SEE EXPLAIN

Explanation:

public int dimension(int [][]a2d,int nElements)

{

int count = 0;

for(int i = 0;i < a2d.length ; i++)

{

count = count + a2d[i].length;

}

return count;  

}

You might be interested in
\. A mixture of gases con-tains oxygen, nitrogen, and water vapor. What physical process could you use to remove the water vapor
Eddi Din [679]

Answer:

Condensation.

Explanation:

The boiling point of water is much higher than that of either nitrogen or oxygen gas . So when the mixture is condensed  to a temperature lower than

100°C , water vapor will come out first in the form of water leaving other

elements of mixture in gaseous phase. In this way, water vapor will get separated from others.

3 0
4 years ago
Why does it take mars over 500 days to orbit the sun?
kakasveta [241]

Answer:

Mar's orbital path is more than that of Earth, thus it takes more number of days to orbit around the sun.

Explanation:

Mars takes over 500 days to orbit all the way around the sun than Earth because its distance from the sun (228 million kilometers) is greater than that of Earth (150 million kilometers) which takes it 365 days.

Planets that orbit closer to the sun take shorter time to orbit around the sun because the cover a shorter orbital distance and orbit faster than those planets further from the sun.

<u>For example</u>

Using Earth's distance from the sun, 150 million kilometers and the number of days taken to orbits the sun ,365 days and the distance Mars is from the Earth, 228 million kilometers, you can approximate the time Mar takes to orbit the sun as:

Earth 150 million kilometers  = 365 days

Mars  228 million kilometers= ?

Cross product ; (228 *365) /150 =555 -----(a value closer to that in the question)

6 0
3 years ago
A block of mass 2 kg is placed on the floor. The coefficient of static friction is 0.4. A horizontal force of 2.5 N is applied o
Masja [62]

Answers is  F=7.84 N

Friction force resists the effect of horizontal force and trying to approch to a limiting force.

we have formula for limiting friction force between block and floor

               F=Ц N

where N=mg

putting values we get answer.

Download pdf
3 0
3 years ago
What types of landforms can water form?
lara31 [8.8K]
Abyssal plain
Abyssal fan
Archipelago
Atoll
Arch
6 0
4 years ago
Read 2 more answers
A"car"initially"at"rest"experiences"a" constant"acceleration"along"a"horizontal" road."the"position"of"the"car"at"several" succe
marysya [2.9K]

In the process of peppering the question with those forty (40 !) un-necessary quotation marks, you neglected to actually show us the illustration.  So we have no information to describe the adjacent positions, and we're not able to come up with any answer to the question.

7 0
4 years ago
Other questions:
  • In winter why do water tanks start freezing from surface and not from bottom
    10·1 answer
  • What are the preserved remains of organisms?
    12·1 answer
  • 4. Johnny exerts a 3.55 N rightward force on a 0.200-kg box to accelerate it across a low-friction track. If the total resistanc
    15·1 answer
  • Select the best terms from the drop-down menus that fit the nuclear medicine descriptions.
    5·2 answers
  • A monkey that has a white tail (dominant) could have the genotype ww. True False
    7·2 answers
  • a proton moves in a circle of radius 0.4 when it enters a region with a magnetic field of 1.0t which points into the plane the s
    15·1 answer
  • A boy is exerting a force of 70 N at a 50-degree angle on a lawnmower. He is accelerating at 1.8 m/s2. Round the answers to the
    15·1 answer
  • The Milky Way is our home galaxy. Which of the following are the main components of a galaxy?
    9·1 answer
  • An object moving in the xy-plane is subjected to the force f⃗ =(2xyı^ 3yȷ^)n, where x and y are in m
    13·1 answer
  • 3. A bottle of vitamin C contains 100 tablets and weighs 80 g. If the
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!