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
As a fraction (all of the bellow) <br> 6.7<br> -0.92<br> -0.1<br> -5.05
iren2701 [21]

Answer:

6.7 = 6 \frac{7}{10}

-0.92= -\frac{23}{25}

-0.1= -\frac{1}{10}

-5.05=-5\frac{1}{20}

Step-by-step explanation:

:-)

First rewrite the decimal as a number with 1 in the denominator.

2nd multiply to remove 2 decimal places by (100/100)

3rd reduce the result of the multiplication

Then simplify the improper fraction

-Alex :-)

6 0
2 years ago
Read 2 more answers
1/4y =6
kondaur [170]

Answer: Y=24

Step-by-step explanation:1/4 y=6  

                                              *4     *4

                                               y= 24

Math really is a universal language, Buenos noches amigo.

5 0
3 years ago
Help me with this thing, its for middle school math
ExtremeBDS [4]

Answer:

idek man

Step-by-step explanation:

6 0
3 years ago
Read 2 more answers
Yes i give brainliest​
satela [25.4K]
D

It can give some balls more chance to be picked, making it unfair
8 0
3 years ago
HELP GIVING 20 POINTS
Olenka [21]

Answer:

The total cost as $96

Step-by-step explanation:

To find the total amount find the tax amount and the tip amount

75 * 8% = 6

75 * 20% = 15

add 6 and 15 to 75 to get 96

5 0
2 years ago
Read 2 more answers
Other questions:
  • Item 8 Question 1 A roller coaster ride holds a total of 48 passengers. The ratio of males to females on the ride is 5 : 7. Let
    9·2 answers
  • Write a ratio for each situation in three ways .between 1899 and 1900,284 out of 1000 people in the united states were 5 to 17 y
    5·1 answer
  • The absolute value of a positive integer is a negative integer​
    10·1 answer
  • What is the see price of a 64$ pair of shoes if they are 25 % off
    14·2 answers
  • What is the slope of graph 7 pls
    9·1 answer
  • Colin invests £1200 into his bank account.
    8·2 answers
  • I need help with the questions with all of them.
    9·1 answer
  • Factor the following polynomials: a^2+a+72
    7·1 answer
  • What are the vertex and x intercepts of the graph of the function below<br> y=(x-4)(x + 2)
    5·1 answer
  • Find FH. Help Please.​
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!