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
SOVA2 [1]
3 years ago
8

Write a function number_of_pennies() that returns the total number of pennies given a number of dollars and (optionally) a numbe

r of pennies. ex: 5 dollars and 6 pennies returns 506.
Mathematics
1 answer:
seraphim [82]3 years ago
7 0
Ok, first of all, it is important to understand that this function would depend on 2 variables; the number of dollars (x) and the number of pennies (y). Every dollar is equivalent to 100 pennies. So, if we are given x dollars, we have 100*x pennies. If we also have y pennies, we still get y pennies. We need to add these two to get the total amount of pennies. Thus, the correct function is:
f(x,y)=100*x+y
You might be interested in
Solve the equation N/-2=-15
otez555 [7]

Answer:

30

Step-by-step explanation:

N/-2=-15

N= -15 times -2

N= 30

4 0
3 years ago
Read 2 more answers
What is 9540000 in expanded form using exponents to show powers of 10
GalinKa [24]
<span>9540000 = 9x1000000 + 5x100000 + 4x10000
               = 9x10^6  + 5x10^5 + 4x10^4</span>
3 0
4 years ago
Read 2 more answers
Help ill Give brainliest
patriot [66]
A= 16777216
B= 279936
C= 32768
D= 49
3 0
3 years ago
Read 2 more answers
Find the area of the surface. the part of the surface z = xy that lies within the cylinder x2 + y2 = 81
Anika [276]
Ans: The area of the surface is: 1553.081

Explanation: Please see the image attached with this answer (find attachment).

4 0
3 years ago
Lilli jogs 1/2 mile in 1/10 hour. What is Lilli's rate in miles per hour?
Zielflug [23.3K]
If her mileage is half a mile in 6min (0.1h)
her pace would be 5mph
8 0
3 years ago
Read 2 more answers
Other questions:
  • Simone has 5 employees in her flower shop. Each employee works 
    7·1 answer
  • To mix his special energy drink, Jerome uses 8 cups of water and 3 cups of drink mix.
    15·1 answer
  • (AAAASSSSSSAAAAPPPP!)
    11·2 answers
  • A computer and printer cost a total of $939. The cost of the computer is two times the cost of a printer. Find the cost of each
    11·1 answer
  • The quality control manager of a light bulb factory needs to estimate the average life of a large shipment of light bulbs. The p
    9·1 answer
  • The sixth-graders at Ruben's school got to choose between a field trip to a museum and a field trip to a factory. 30 sixth-grade
    6·1 answer
  • Tammy rents an apartment close to her school campus. The amount that she spends on rent is given by the equation r = 355m, where
    5·1 answer
  • I NEED ANSWER ASAP LOTS OF POINTS
    6·1 answer
  • PLEASE ANSWER MY RECENT! ITS FOR 47 POINTS AND SUPER EASY! I JUST NEED ADVICE AND NO ONE HAS ANSWERD YET!
    15·2 answers
  • Help what is the measure of the angle x?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!