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
zalisa [80]
2 years ago
8

Given two 2x3 (2 rows, 3 columns) arrays of integer , x1 and x2, both already initialized , two integer variables , i and j, and

a boolean variable x1rules. Write the code that is necessary for x1rules to be true if and only if every element in x1 is bigger than its corresponding element in x2 and is false otherwise .
Mathematics
1 answer:
user100 [1]2 years ago
4 0

Answer:

x1Rules=true;

for (i=0; i<2; i++)

for (j=0; j<3; j++)

if (x1[i][j] <= x2[i][j])

{

x1Rules=false;

break;

}

Step-by-step explanation:

The code is written above .

You might be interested in
The amount of a sample remaining after t days is given by the equation P(t)=A(1/2)^(t/h), where A is the initial amount of the s
s344n2d4d5 [400]
The equation is:
P ( t ) = A * (1/2 )^(t/h)
If a sample contains 18% of the original amount of Radon - 222 and h = 3.8:
0.18 * A = A * ( 0.5 )^(t/3.8)   / : A ( we will divide both sides of the equation by A )
0.18 = ( 0.5 )^(t/3.8)
t/3.8 = log _{1/2}0.18
t / 3.8 = 2.47 ≈ 2.5
t = 3.8 * 2.5 = 9.5
Answer:
The best estimate for the age of the sample is 9.5 days.

5 0
2 years ago
Read 2 more answers
Will a 7/32 inch diameter pin fit into a reamed hole with a diameter of 0.215 inches?
lana [24]

Answer:

no ... the pin will not fit the reamed hole

Step-by-step explanation:

The decimal equivalent of 7/32 is 0.21875.  This is larger than the reamed

hole:                                                  0.215

and so the answer is no ... the pin will not fit the reamed hole.

6 0
2 years ago
The organization that Jones works for is running for a father son dinner for those employees is invited to attend along with his
boyakko [2]

Answer:

25%

Step-by-step explanation:

The probability of having a boy is 50%

To calculate the probability of him having 2 boys, multiply the probabilities together

0.5(0.5) = 0.25

7 0
2 years ago
During his last 5 jobs, an electrician used the following amounts of cable:
ella [17]

The total amount of cable used is 47.4m

<u>Explanation:</u>

Given:

Amounts of cable used that has to be rounded off to 1 decimal place:

12.995 m  ≈ 13.0 m

7.505 m  ≈ 7.5m

10.08 m  ≈ 10.1 m

6.95 m  ≈ 7.0 m

9.75 m ≈ 9.8 m

Total amount of cable used = 13m + 7.5m + 10.1m + 7m + 9.8m

                                              = 47.4m

Therefore, total amount of cable used is 47.4m

7 0
2 years ago
Carly owns a T-shirt shop. She pays $2.25 for each shirt.
diamong [38]

Answer:

Total number of T-shirts= 200

Cost per T-shirt (without shipping ) = $2.80

Shipping cost per t-shirt ; 5% of a T-shirt = 0.05 *2.80 = $0.14

Total cost of T-shirt (shipping included) = 2.80 +0.14 = $2.94

Markup = 150% of total cost = 1.50 * 2.94 = $4.41

To get the price at which Michelle will sell each T-shirt , add total cost  to the markup; 2.94 +4.41 = 7.35.

Therefore, selling price will be $7.35

3 0
2 years ago
Other questions:
  • Lisa surveyed 60 students at her school and found that 0.85 of the students she surveyed said their favorite class is math. Anot
    12·1 answer
  • Kx = wv, solve for x? <br> algebra 1 honors^
    5·1 answer
  • (6-2.7h)+(-1.3j-4)<br><br> ?
    10·2 answers
  • The Hamburger Joint lowered their prices and their sales increased from 1000 hamburgers a week to 2500 hamburgers a week. What i
    9·2 answers
  • A Candlestick burns at a rate of 0.2 inches per hour. After 8 straight hours of burning , the candlestick is 13.4 inches tall. W
    7·1 answer
  • If the probabilities that an automobile mechanic will service 3, 4, 5, 6, 7, or 8 or more cars on any given workday are, respect
    12·1 answer
  • Phoebe surveyed teens and adults to find the average number of hours of sleep they get during the week. Her results are shown be
    8·2 answers
  • A 0.143-Henry Inductor is connected in series with a variable resistor to a 208-volt 400-cycle source. For what value of capacit
    10·1 answer
  • Charles Beaudry sells computer hardware for a computer firm. He is paid 4%
    9·1 answer
  • Information about two gears is shown in the table.
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!