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
Pablo is on a road trip which will cover a distance of 840 miles. He plans to break the trip up and will complete it over three
Colt1911 [192]

Answer: 2.87 hours

Step-by-step explanation:

There may be a typo in the question because 55 hours in a day is not logical so you must have meant 5.5 hours.

In that case, the hours he will require on the third day would require the distance left to calculate. Get this distance from the first 2 days.

Day 1 distance travelled = Time * Speed

= 5.5 * 66

= 363 miles

Day 2 distance travelled = Time * Speed

= 5.5 * 58

= 319 miles

Total distance remaining

:= 840 - 363 - 319

= 158 miles

Travelling at 55 miles per hour, the time to be taken is:

= Distance remaining / Speed

= 158 / 55

= 2.87 miles per hour

8 0
3 years ago
4(-3x-5)-(10+4x)<br> Help?
levacccp [35]
-12x-20-40plus 16x
-4x plus -60
5 0
3 years ago
Algebra 2 <br> If you can explain it would help so much
Elodia [21]
Never seen the exact thing before
But if I’m not mistaken
a should be the number before x^2
b is before x
c is the last number
including the negative sign!
4 0
3 years ago
The temperature decreased 3 degrees every hour for 4 hours yesterday. How many total degrees did the temperature drop yesterday
Novay_Z [31]

Answer:

12

Step-by-step explanation:

6 0
3 years ago
Approximately how many times greater is 9.75 * 10^6 than 1.25 * 10^2?
lapo4ka [179]
7.8 is the answer...
7 0
3 years ago
Other questions:
  • -9x - 33 + 17 - 19x simplify
    11·2 answers
  • (-8y^2+6y-1)+(-8y^2+8y+1)-(-3y^2+9y-9)
    13·2 answers
  • Johnny wanted to buy a new video game that costs 65 dollars. It is on sale for 35% off. He will also have to pay 7% sales tax. P
    8·1 answer
  • Help me pleaseeeeeeeeeeee I'll mark brainliest just help me asap
    5·1 answer
  • A new piece of laboratory equipment costing $10,000 promises to save $4000 per year in materials and overtime pay. If the cost o
    9·1 answer
  • Each of Hashim's comedy shows lasts for 75 minutes. He tells an average of 8 jokes every minute. How many of Hashim's comedy sho
    6·2 answers
  • If a population is _______
    12·1 answer
  • The leprechaun needs to walk 512.5 miles to get the pot of gold. If he plans
    15·1 answer
  • Write and solve an equation to find the number n. The sum of twice a number and 13 is 75.
    7·2 answers
  • Four students in an art class mixed red and blue paint to make purple. The amounts they used are shown in the table. Which stude
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!