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
Crazy boy [7]
3 years ago
10

Write code to complete doublepennies()'s base case. sample output for below program: number of pennies after 10 days: 1024 note:

these activities may test code with different test values. this activity will perform three tests, with starting pennies = 1 and userdays = 10, then with starting pennies = 1 and userdays = 40, then with startingpennies = 1 and userdays = 1. see how to use zybooks. also note: if the submitted code has an infinite loop, the system will stop running the code after a few seconds, and report "program end never reached." the system doesn't print the test case that caused the reported message.
Mathematics
1 answer:
Svetllana [295]3 years ago
7 0

answer with coding and answer is attached in word file below

Download docx
You might be interested in
Can someone please answer?<br><br> Which theorem is it?
tamaranim1 [39]

9514 1404 393

Answer:

  HL

Step-by-step explanation:

The triangles are right triangles, opening the possibility of using the special right-triangle congruence theorems.

The hypotenuses are marked congruent, and one leg is shared. No angles (except the right angle) are marked congruent. With only two sides and one angle, the AAS, SSS, and ASA theorems cannot apply.

The HL theorem can be used to show the triangles are congruent.

7 0
2 years ago
Read 2 more answers
Help please I'm marking brainiest
Mademuasel [1]

Answer and explanation:

1. 9:12 or \frac{9}{12} or 9 to 12

It has 9 first because there are 9 lions and then 12 after because there are 12 elephants.

2. 8:16 or \frac{8}{16} or 8 to 16

It has 8 first because there are 8 giraffes and then 16 after because there are 16 otters.

3. 9:10 or \frac{9}{10} or 9 to 10

It has 9 first because there are 9 lions and then 10 after because there are 10 seals.

4. 10:12 or \frac{10}{12} or 10 to 12

It has 10 first because there are 10 seals and then 12 after because there are 12 elephants.

5. 12:9 or \frac{12}{9} or 12 to 9

It has 12 first because there are 10 elephants and then 9 after because there are 9 lions.

6. \frac{8}{6} or \frac{40}{30} or \frac{16}{12}

I just multiplied it first the first one by 2, second one by 10, and 3rd one by 4.

7. \frac{6}{7} or \frac{42}{49} or \frac{60}{70}

I just simplified it first, then I multiplied the simplified one by 6 for the second one, and for the 3rd one I multiplied the simplified by 10.

8. \frac{2}{3} or \frac{4}{6} or \frac{20}{30}

I just simplified it first, then I multiplied the simplified one by 2 for the second one, and for the 3rd one I multiplied the simplified by 10.

9. 3:4 is equivalent to 6:8, 30:40, 12:16

I multiplied it first by 2, then by 10, then by 4.

10. 5:7 is equivalent to 10:14, 50:70, 25:35

I multiplied it first by 2, then by 10, then by 5.

11. 9:2 is equivalent to 18:4, 90:20, 27:6

I multiplied it first by 2, then by 10, then by 3.

12.

a. 48

So first, the ratio we know is 5:4 which in other words is 5x:4x. We also know that there are 60 clownfish. So that means 5x = 60 --> x = 12. So then 4x has to equals 12 x 4 which is 48.

b. 36

So first, the ratio we know is 4:3 which in other words is 4x:3x. We also know that there are 48 angelfish. So that means 4x = 48 --> x = 12. So then 3x has to equals 12 x 3 which is 36.

Hope this helped! <3

8 0
2 years ago
Find the measure of WY
Kipish [7]

Answer: WY=4.4 mm

Step-by-step explanation:

WY=WX/2

WY=8.8/2

WY=4.4 mm

6 0
1 year ago
Read 2 more answers
Regina brought 8 7/8 pound of fruit for her family . She brought 3 1/2 pound of oranges and 2 3/4 pound of peaches and some appl
butalik [34]

Answer:

Regina has bought 2\frac{5}{8}\ pounds of apples.

Step-by-step explanation:

Given:

Amount of fruit brought = 8\frac{7}{8}\ pounds

Now given number is in mixed fraction we will convert into improper fraction.

To convert a mixed fraction to an improper fraction, we will Multiply the whole number part by the fraction's denominator.  Add that to the numerator,Then write the result on top of the denominator.

So we can say that;

8\frac{7}{8}\ pounds can be Rewritten as \frac{71}{8}\ pounds

Amount of fruit brought = \frac{71}{8}\ pounds

Also given:

Amount of oranges bought = 3\frac12\ pounds

3\frac12\ pounds can be Rewritten as \frac{7}{2}\ pounds

Amount of oranges bought =  \frac{7}{2}\ pounds

Amount of peaches bought = 2 \frac34\ pounds

2 \frac34\ pounds can be Rewritten as \frac{11}{4}\ pounds

Amount of peaches bought =  \frac{11}{4}\ pounds

We need to find amount of apples bought by Regina.

Solution:

Let the amount of apples bought be 'x'

Now we know that;

Amount of fruit brought is equal to sum of Amount of oranges bought and Amount of peaches bought amount of apples.

framing in equation form we get;

\frac{71}{8}=\frac{7}{2}+\frac{11}{4}+x\\\\x=\frac{71}{8}-\frac{7}{2}-\frac{11}{4}

Now we will make the denominator common using LCM we get.

x=\frac{71\times 1}{8\times 1}-\frac{7\times4}{2\times4}-\frac{11\times2}{4\times2}\\\\x=\frac{71}{8}-\frac{28}{8}-\frac{22}{8}

Now denominators are same so we will solve the numerator.

x=\frac{71-28-22}{8}\\\\x=\frac{21}{8}\ pounds

Now \frac{21}{8}\ pounds can be Rewritten as 2\frac{5}{8}\ pounds

Hence Regina has bought 2\frac{5}{8}\ pounds of apples.

5 0
3 years ago
What is the name of this shape?​
Sergeeva-Olga [200]

Answer:

this shape consists of a square and triangle

7 0
3 years ago
Read 2 more answers
Other questions:
  • kiara downloaded 264 pictures from her cellphone to her computer. these pictures took up 528 megabytes of space on her computer.
    5·1 answer
  • The cost to rent a vacation house for a week is 850$. How much will Renee , susan and Martha each pay to rent this house for a w
    15·1 answer
  • What is the total mass (in tonnes) of 3 500 books each of mass 800 grams?
    13·1 answer
  • What does x and y equal when -2x+5y=-21
    5·1 answer
  • What type of polynomial it is
    9·1 answer
  • a television regulary cost $180 but it is on sale for 40% off this is a 5% sales tax on the sale price how much does the televei
    5·1 answer
  • An item is regularly priced at $75. It is now priced at a discount of 40% off the regular price. What is the
    13·2 answers
  • Select each situation that can represent a proportional relationship
    8·2 answers
  • I need 5 brainliest answers anyone wanna give me a free one also dont reporttttt
    11·1 answer
  • How do you solve 3b(9b-27)=0
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!