answer.
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]
2 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]2 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 110-pound person pulls herself up 4.0 feet. This took her 2.5 seconds. How much power was developed?
mrs_skeptik [129]

Answer:

0.32 Hp is the answer. right

5 0
1 year ago
Read 2 more answers
A manometer is used to measure the air pressure in a tank. the fluid used has a specific gravity of 1.25, and the differential h
BartSMP [9]
Specific Gravity of the fluid = 1.25 
Height h = 28 in
 Atmospheric Pressure = 12.7 psia
 Density of water = 62.4 lbm/ft^3 at 32F
 Density of the Fluid = Specific Gravity of the fluid x Density of water = 1.25 x 62.4
 Density of the Fluid p = 78 lbm/ft^3
 Difference in pressure as we got the differential height, dP = p x g x h  dP = (78 lbm/ft^3) x (32.174 ft/s^2) x (28/12 ft) [ 1 lbf / 32.174 ft/s^2] [1 ft^2 /
144in^2]
 Difference in pressure = 1.26 psia
 (a) Pressure in the arm that is at Higher 
 P = Atmospheric Pressure - Pressure difference = 12.7 - 1.26 = 11.44 psia
 (b) Pressure in the tank that is at Lower
 P = Atmospheric Pressure + Pressure difference = 12.7 + 1.26 = 13.96psia
4 0
2 years ago
The basic function of an automobile carburetor is to atomize the gasoline and mix it with air to promote rapid combustion. Assum
tatyana61 [14]

Answer:

A = 7.5 \times 10^6 m^2

Explanation:

Since volume of all the liquid is always conserved

so here we know that

V_{total} = N V

25 cm^3 = N(\frac{4}{3}\pir^3)

25 = N (\frac{4}{3} \pi (1.0 \times 10^{-5})^3)

N = 5.97 \times 10^{15}

now we know that total surface area is given as

A = N(4\pi r^2)

A = (5.97 \times 10^{15})(4\pi (1 \times 10^{-5})^2

A = 7.5 \times 10^6 m^2

5 0
2 years ago
Listed in the Item Bank are some important labels for sections of the image below. To find out more information about labels, so
gizmo_the_mogwai [7]

Answer:reactant,active site,enzyme below,substrate,products

Explanation:

5 0
1 year ago
Assume the rate of malignant breast cancer tumors is 1%. That means out of 10,000 mammograms, 100 women will have cancer (10,000
antiseptic1488 [7]

When I see this equation, I can properly make the answer come out to 7.8 percent. I do this, by taking the 80 women, and dividing 80 women by the 80 women plus the 950 women, so 80/80+950 (or 80/1030=.078). So I get 7.8%, which should be the right answer.

 

But when I try to do the same with percentages, it all gets sort of screwy. I take the 80 percent of women (.8) divided by that same 80 percent (.8) plus 9.5 percent of women without cancer who test postive for it (.095). So I get .8/.8+.095=89%.

8 0
2 years ago
Other questions:
  • Two students push a heavy crate across the floor. John pushes with a force of 185 N due east and Joan pushes with a force of 165
    14·1 answer
  • A battleship simultaneously fires two shells toward two identical enemy ships. One shell hits ship A, which is close by, and the
    11·1 answer
  • Someone who wants to sell you a Superball claims that it will bounce to a height greater than the height from which it is droppe
    6·1 answer
  • The total negative charge on the electrons in 1kg of helium (atomic number 2, molar mass 4) is____________.
    12·2 answers
  • Charged beads are placed at the corners of a square in the various configurations shown in
    11·1 answer
  • A very long conducting tube (hollow cylinder) has inner radius a and outer radius b. It carries charge per unit length +α, where
    15·1 answer
  • As a descending elevator approaches the correct floor, it slows to a stop with a constant acceleration of magnitude 1m/s*2. The
    9·1 answer
  • When 30 V is applied across a resistor it generates 600 W of heat: what is the magnitude of its resistance?
    12·1 answer
  • If F1 is the force on q due to Q1 and F2 is the force on q due to Q2, how do F1 and F2 compare? Assume that n=2.
    12·1 answer
  • Which economic idea did Adam Smith promote in The Wealth of Nations?
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!