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
The weakest type of friction that occurs between solid surfaces is _____ friction
Evgen [1.6K]

Answer:

Static, sliding, and rolling friction occur between solid surfaces. Static friction is strongest, followed by sliding friction, and then rolling friction, which is weakest. Fluid friction occurs in fluids, which are liquids or gases.

Explanation:

4 0
3 years ago
Read 2 more answers
A projectile is fired with an initial speed of 37.0 m/s at an angle of 43.7 ∘ above the horizontal on a long flat firing range.
astra-53 [7]

Answer:

The maximum height reached by the projectile is 33.34 m

Explanation:

Given;

initial velocity of the projectile, u = 37 m/s

angle of projection, θ = 43.7°

The maximum height reached by the projectile = ?

Apply the following kinematic equation, to determine the maximum height reached by the projectile.

Maximum height (H) is given as;

H = \frac{u^2 sin^2\theta}{2g}\\\\ H = \frac{(37)^2 (sin 43.7)^2}{2*9.8}\\\\H = 33.34 \ m

Therefore, the maximum height reached by the projectile is 33.34 m

3 0
3 years ago
when a book falls from a shelf to the ground without anyone pushing on it, no work is done on the book. true or false​
choli [55]

Answer:

False

Explanation:

Gravity and impact puts a toll on it.

4 0
3 years ago
If you wanted to know the location of a vehicle that ran out of gas after taking a zigzag route through the city, which quantity
Papessa [141]

Explanation:

the vehicles displacement, since displacement deals with position

8 0
3 years ago
Select the volume units that are greater than one liter. a.kiloliter b.milliliter c.megaliter d.centiliter e.deciliter f.nanolit
Naya [18.7K]
I think it would be 

C. megaliter 
7 0
4 years ago
Other questions:
  • Why does the investigator in an expirement change only one variable
    14·1 answer
  • Which formula can be used to find the magnitude of the resultant vector? R2 = Rx2 + Ry2 R = Rx + Ry R = Rx(cosθ) R = Rx(sinθ)
    14·2 answers
  • Two concentric circular loops of wire lie on a tabletop, one inside the other. The inner wire has a diameter of 20.0 cm and carr
    11·1 answer
  • Which type of wave is not a light wave
    6·1 answer
  • Determine the two coefficients of static friction at B and at C so that when the magnitude of the applied force is increased to
    13·1 answer
  • Which of the following is a limited resource, which can take longer to be replenished than it takes to be used up?
    15·2 answers
  • A 0.106-A current is charging a capacitor that has square plates 4.60 cm on each side. The plate separation is 4.00 mm.
    14·1 answer
  • Tula para sa parents
    5·2 answers
  • Which Moon position in the lunar cycle would provide the largest difference in ocean tides?
    7·1 answer
  • Answers are ONLY allowed to be ionic, polar covalent, and nonpolar covalent.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!