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
There are 3.79 L in every gallon how many liters of gas does a 13.6 gallon tank hold
Zinaida [17]

Answer:

51.544 L  in our tank

Step-by-step explanation:

We have a 13.6 gallon tank

Our conversion factor is 3.79 L = 1 gallon.  We want liters on top since that is where we want to end up

3.79 L /1 gallon is what we want to use

13.6 * 3.79L/1 gallon = 51.544 L  in our tank

4 0
3 years ago
Jennifer has 3 1/2 cups of jelly beans to share with 7 friends how many cups does each person get
AfilCa [17]
Divide 3 1/2 by 7= 1/2 a cup per person
6 0
3 years ago
Read 2 more answers
Find the value of x in the isosceles triangle shown below.
Salsk061 [2.6K]
I think its C sorry if its wrong!
7 0
2 years ago
Read 2 more answers
It was 4:00 P.M. when John started mowing the lawn and it took him 50 minutes to finish. What time did John finish mowing the la
Oksi-84 [34.3K]

Answer:

4:50 P.M.

Step-by-step explanation:

Sorry I don't know how to properly explain it but I just added 50 minutes to 4 o' clock to get the answer.

Hope this helps!

Maybe brainliest?

7 0
3 years ago
Read 2 more answers
Brainliest plsss i need help
lesantik [10]

Answer:

I believe it is A

Step-by-step explanation:

5 0
3 years ago
Other questions:
  • A locker combination has three nonzero digits, and digits cannot be repeated. If the first two digits are even, what is the prob
    7·1 answer
  • Solve y^2 + 4y - 32 = 0 using the zero product property.
    15·1 answer
  • Special taxes are never placed on an estate. True False
    14·2 answers
  • Which transformations can be used to map a triangle with vertices A (2, 2), B (4, 1), C (4, 5) to A’ (–2, –2), B’ (–1, –4), C’ (
    5·1 answer
  • Find the slope intercept form of the liner function using the points (-6,6) and (-2,4) Show all work
    14·1 answer
  • For a line that goes through points (2,-2) and (1.-6), what is the equation
    8·1 answer
  • Find (x^3+7x^2-16x-112) divide by (x+4) using synthetic division// how do you find it?
    9·1 answer
  • Which is the graph of y=-x-3?
    8·1 answer
  • What is the value of b in this equation?<br><br> A. -20<br> B. -6<br> C. 6<br> D. 20
    5·2 answers
  • There are 84 girls in grade 3.the boys are twice the numbers of girls. how many pupils are there in all in grade 3?draw a diagra
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!