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
Marla's breakfast was 525 calories. This was 35% of her total calories for the day. How many calories did she have that day?
wlad13 [49]

Answer:

1500

Step-by-step explanation:

525 is 35% of x, and we want to find x! (or, 100% of x)

So.

We set up an equation:

525 = 0.35x

How do we get to:

smth = 1.00x?

We divide both sides of the equation by 35, so it looks like this:

15 = 0.01x

And then we multiply both sides of the equation by 100, so it looks like this!

1500 = x

which means that Marla consumed 1500 calories that day.

Hope that helps!

8 0
3 years ago
A Samsung Galaxy tablet sells for $299, which is marked up 40% of the selling price. What's the cost of the tablet?
Serjik [45]
The cost will be 119.6.
8 0
3 years ago
Read 2 more answers
Question 9
timurjin [86]

Answer:

<u>The</u><u> </u><u>requ</u><u>ired</u><u> </u><u>num</u><u>ber</u><u> is</u><u> </u><u>7</u><u>0</u><u>.</u>

Step-by-step explanation:

let the no. be 10y + x where x is unit digit and y is ten's digit.

given , sum of the digit is 7

x + y = 7 ...(1)

also , reversing the no. we get 10x + y ,where x is ten's digit and y is unit digit.

given reversed digit decreases the number by 63 .

so, 10y + x - ( 10x + y ) = 63

9y -9x = 63

( dividing both side by 9 )

y - x = 7 ....(2)

adding 1 and 2 [ refer attachment ]

so the required original number is

10y + x = 10×7+0 = 70

8 0
2 years ago
Is 15 a factor of 995?
ArbitrLikvidat [17]

Answer:

Yes!

Step-by-step explanation:

Because it can comply with five and 15 Complies with five

8 0
4 years ago
Please Help 28 Points + Brainlest Look At The Image Below And Answer The Flowing Question
loris [4]

Answer:

D

Step-by-step explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • Last night 18 students read before bed. One-third of them read a comic book. How many students read comics books
    5·2 answers
  • Double the product of 6 and 7 expression
    10·2 answers
  • Help!!!!!
    11·1 answer
  • In the game of Pick-A-Ball, there are 10 colored balls: 2 red, 4 white, and 4 blue. The balls have been placed into a small buck
    10·1 answer
  • What’s the answer to 5y-4
    15·1 answer
  • What is the area of a tile floor that is 12.8 feet long and 9.5 feet wide
    14·1 answer
  • Please Help !!!!!!!!!!!
    14·2 answers
  • Select from the following pairs of events all the pairs that are independent.
    7·1 answer
  • If a cylinder has a volume of 300 m3 and a radius of 5 m, what is its height (in meters)? (Round your answer to two decimal plac
    11·1 answer
  • 30 points! Need Help Asap!!
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!