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
A football team gains 8 yards, looses 15 yards, than gains 20 yards. What was their total yards gained?
Ad libitum [116K]

Answer:

The total yards gained was 13 yards.

Step-by-step explanation:

If you do 8-15+20=13

<u><em>PLEASE MARK BRAINLIEST</em></u>

4 0
3 years ago
Jim and Sarah invited seven friends over for dinner. If each friend brought one guest how many people will be at the dinner excl
Vanyuwa [196]

16 people would be at the dinner because Jim and Sarah invited 7 friends and each friend brought 1 guest, so you do 7*2=14 and the 14 + Jim and Sarah=16 people.

7 0
3 years ago
I Really need help on this question if anybody can tell me what the answer is that would be nice I only have a few minutes :/
antoniya [11.8K]

Answer:uuuu idk

Step-by-step explanation:

7 0
4 years ago
Read 2 more answers
If h(x)=x^3 -5, Find h(-1)
anygoal [31]

Answer:

h(x) = -6

Step-by-step explanation:

= x^3-5

= (-1)^3 - 5

= -1*-1*-1 - 5

= -1 - 5

= -6

5 0
3 years ago
Marisa painted 1/2 of her bedroom inb3/4 of an hour,at this rate how long will it take to paint the entire room
laila [671]

Given that Marisa painted 1/2 of her bedroom in 3/4 of an hour.

we know that there are 2 halfs in a bedroom.

Each half will take 3/4 hours

so total time to paint entire bedroom

=\frac{3}{4}+\frac{3}{4}

=\frac{3+3}{4}

=\frac{6}{4}

=\frac{3}{2}

Hence final answer is 3/2 hours or you can say 1.5 hours.

6 0
4 years ago
Other questions:
  • Which phrase matches the algebraic expression below? (1 point)
    9·1 answer
  • (3m − 2n) and (4m − n) are the factors of
    8·2 answers
  • Given: KLMN is a trapezoid, KL=MN,
    10·1 answer
  • Laura rode her bike 3.5 miles. Shanay rode her bike 4 miles. How many more feet did Shanay ride her bike then Laura?
    7·1 answer
  • F(x) = x^2 + 5. Find f(-4) please help :((
    10·1 answer
  • What’s the answer to this please I give 5 star and brainliest
    9·1 answer
  • Is it True or false??
    6·1 answer
  • The coordinates of the vertices of AHKM are H(3, -2),
    15·1 answer
  • Help plsss hehshshisieieirirj for brainly pls
    11·2 answers
  • The directrix and vertex of a parabola are shown on the graph. What is the vertex form of the equation for the associated parabo
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!