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
Rasek [7]
2 years ago
15

Fair division Alice and Bob inherited a collection of paintings. However, they will receive it only if the collection can be div

ided into two parts of exactly equal price. (Otherwise, it will be donated to a local art museum.) Is the collection divisible into two exactly equal halves? We have to find the answer. The prices of the paintings are provided as an array of integers. For example: int prices [] = {10, 15, 12, 18, 19, 17, 13, 35, 33};
Mathematics
1 answer:
Mekhanik [1.2K]2 years ago
5 0

Answer:

The way to solve this question is find the length of the array and then divide it by 2. If the modulus is 0, the number is even, and the collection is divisible. Otherwise, if the modulus is 1, the number is odd, the collection is not divisible and will be donated to a local art museum.

Step-by-step explanation:

The way to solve this question is find the length of the array and then divide it by 2. If the modulus is 0, the number is even, and the collection is divisible. Otherwise, if the modulus is 1, the number is odd, the collection is not divisible and will be donated to a local art museum.

In this case:

int prices [] = {10, 15, 12, 18, 19, 17, 13, 35, 33};

The array has 9 elements, and 9%2 = 1, so it is not divisible into two equal parts.

You might be interested in
You are hiking and trying to determine how far away the nearest cabin is, which happens to be due north from your current positi
Damm [24]

Answer:

Cabin is 567 yards away...

Step-by-step explanation:

The angle  21.2° is also the angle of the upper interior angle of the triangle (near the cabin)

Use the tan function:

opposite = 220 yards

adjacent = x

tan(21.2°) = (opposite / adjacent)

tan(21.2°) = 220 yards/x

x * tan(21.2°) = 220 yards

x = 220 yards/ tan(21.2°)

x= 220/ 0.388

x =  567 yards.

Cabin is 567 yards away...

6 0
2 years ago
Explain when the median of a data set is a better measure of center than the mean
vlada-n [284]

The dot plot or histogram will be skewed.

The mean is pulled up or down toward the tail.

The mean is affected more than the median.


Sample Response: When there is an outlier in the data set, the dot plot or histogram will be skewed. In a skewed representation, the mean is pulled up or down toward the tail of the data. Therefore, skewed data affects the mean more than the median.

5 0
2 years ago
Read 2 more answers
If 1/6x+2/3y=8 what is the value of 2x+8y
Romashka-Z-Leto [24]

Answer: 96

Step-by-step explanation:

Simply multiply the first question by 12 to get 2x+8y=96

<em>Hope it helps <3</em>

7 0
2 years ago
Heidi, a jewelry salesperson, earns a commission of $55 every time she sells a diamond ring. How many rings does she have to sel
Taya2010 [7]

$605 / $55 = 11

She will have to sell 11 rings to earn $605.

C) $55 x w = $605

Hope this Helps!!


5 0
2 years ago
Read 2 more answers
PLEASE HELP TO SOLVE QUESTION with full process c) Mr. Thapa bought a motorbike for Rs 1,25,000 and fixed its price 20 % above t
klasskru [66]

Answer: Rs. 1,52,550

Step-by-step explanation:

CP of motorcycle = 125000

Selling Price fixed = 125000 + 20% = 150000

10% discount = 150000*10% = 15000

SP after 10% discount

= 150000-15000= 135000

VAT at 13% = 135000 * .13 = 17550

Mr Gurung paid total

135000 + 17550 = 152550

8 0
2 years ago
Read 2 more answers
Other questions:
  • At lunch, Kira eats either a burrito containing 490 milligrams of sodium or a peanut butter sandwich containing 700 milligrams o
    14·2 answers
  • Next no. in the sequence 7 2 0 7 8 4 3
    13·2 answers
  • Morty buys and sells computer parts. He bought two monitors for $25.00 each and later sold them for $88.00 each. He bought four
    10·1 answer
  • Mr.Lippman brought a dryer for $160 and sold it for $240. If the overhead expenses were 20% of the selling price, what was the r
    13·1 answer
  • Given H(6,7) and I(-7,-6), if point G lies 1/2 of the way along line segment HI, Santiago argues that point G is located at the
    8·1 answer
  • A soccer ball kicked by a Real Madrid midfielder leaves the player's foot at a speed of 48 mph at an angle θ above the horizonta
    7·1 answer
  • Consider the point. (2, 4, 5) What is the projection of the point on the xy-plane? (x, y, z) = What is the projection of the poi
    7·1 answer
  • Answer now And I’ll give brainliest!
    9·1 answer
  • A line has a slope of negative 2/3 and passes through the point (-3, 8 ) what is the equation of the line
    10·2 answers
  • Which statements are true given the histogram? Check all that apply.
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!