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
solmaris [256]
3 years ago
6

Write a method in bag such that if b1 and b2 were bags then b1+b2 gives a new bag representing the union of the two bags.

Mathematics
1 answer:
PtichkaEL [24]3 years ago
4 0

The method to represent that if b1 and b2 were bags then b1+ b2 gives a bag representing the union of the two bags can be explained as follows:

a. input (b1)

a. input (b2)

b= Bag ( )

b.input ()

<span>Print (b1+b2)</span>

You might be interested in
Need help!!!! don't know what I'm doing
Vsevolod [243]

Answer:

10,000,010

Step-by-step explanation:

10^7+9+1^3

10^7=10,000,000

1^3=1

9+10,000,000+1=10,000,010

5 0
3 years ago
I need help with this. It’s for geometry!
blsea [12.9K]

Step-by-step explanation:

Find angle W first:

37 + 93 + W = 180 ---> W = 50°

Use sine law to find the length w:

w/(sin 50) = 31/(sin 37)

w = 31(sin 50/sin 37)

= 39.5

4 0
3 years ago
Help i will vote brainliest answer
mestny [16]
I am not sure 
but 90 per cent its option b

7 0
3 years ago
Read 2 more answers
The amount of money in Joe’s savings account is increased by 8% each year. Given that he has £500 in 2016. Work out how much Joe
ololo11 [35]

Answer:

£700

Step-by-step explanation:

First we find the interest on this money.

Interest = Principal * Rate * Time

             =\frac{500 * 8 * 5}{100}

            =5 * 8 * 5

            =£200

Interest = £200

Now you add his actual money to the interest you just found to give you the total amount.

Amount = £500 + £200

             = £700

5 0
3 years ago
Liz is a jewelry artist selling necklaces at the New Castle Farmers Market. It costs $135 to rent a table at the Farmers Market.
adelina 88 [10]

Answer:

Step-by-step explanation:

a. no. 9 x 15 = 135, so if she sells more than 15 necklaces, she'll make a profit

b. 50n > 135 + 4.50n

8 0
3 years ago
Other questions:
  • Find value 40% of 25 is what number?
    8·1 answer
  • What is (2+y)³ written out? 8 + 12y + 6y² + y³ 6 + 8y + 4y² + y³
    10·2 answers
  • Marcus needs to cut a 5 yard length of yarn into equal pieces for his art project. Write an equation that models the length L in
    14·2 answers
  • 5/9 - 3/8 + (-1/4) + 1 4/9 + 1 5/8=?
    9·2 answers
  • Can someone please help me . WILL MARK BRAINLIEST !!!
    9·2 answers
  • I need help with this question
    14·1 answer
  • (4a + 2) (6a ^2 - a + 2 )
    6·2 answers
  • What decimal is equivalent to 4/100 + 5/10
    5·1 answer
  • HELPPPPPPPPPPPPPPPPppppppppp PLEASE HELP ME
    14·2 answers
  • What is the slope of the line shown below?<br> A. 2/7<br> B.-7/2<br> C.-2/7<br> D. 7/2
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!