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
lubasha [3.4K]
4 years ago
11

Assume that price is an integer variable whose value is the price (in US currency) in cents of an item. Assuming the item is pai

d for with a minimum amount of change and just single dollars, write an expression for the number of single dollars that would have to be paid. python
Engineering
1 answer:
Svet_ta [14]4 years ago
5 0

Answer:

  1. price = 380
  2. dollar = (price // 100) + 1
  3. print(dollar)

Explanation:

Presume the an item cost 380 cents and we set 380 to the variable price (Line 1). To estimate the number of single dollars to be paid, we can use // operator to divide price by 100 and we will get 3 (the remaining decimal point will be discarded). Then we add 3 by one. So the expression is

(price//100) + 1

*The reason we divide price by 100 is because 1 dollar = 100 cents

You might be interested in
Suppose that a one-celled organism can be in one of two states – either A or B. An individual in state A will change to state B
xxTIMURxx [149]

Answer:

P{x,y} {x - 1, y + 1} = βy/ αx + βy.

P{x,y} {x + 1, y - 1} = βx/ αx + βy.

Explanation:

The full meaning for the acronym "CTMC" given in the question is known as the continuous-time Markov chain. The continuous-time Markov chain is an important tool or instrument which is used in the dealings with stochastic process.

Hence, Xa(t) is the number of organisms in state A, Xb(t) is the number of organisms in state B. Therefore, we can say that the continuous-time Markov chain(CTMC) is;

{ Xa(t), Xb(t)}.

Thus, b(x,y) = αx + βy.

Therefore, we will have;

P{x,y} {x - 1, y + 1} = βy/ αx + βy.

P{x,y} {x + 1, y - 1} = βx/ αx + βy.

Note that, if we are to use the generation of matrix to get differential equation as below;

I(x)α(ix - 1, iy + 1) (JxJy)(t) + iyβ

P (ix + 2, iy -1) (Jx,Jy) (t) - (ixα + iyβ) P(ix,iy)(JxJy) (t).

t is greater or equals to zero for ix,iy, Jx and Jy.

3 0
3 years ago
On some late model cars, climate control systems wil create trouble codes for trouble shooting purposes.
Advocard [28]
I think it’s true because I mean that where you have air conditioner and stuff but as though it’s probably not codes but in a car there probably will be codes
8 0
3 years ago
ANSWER ASAP<br> What is the point system?<br> this is for driving
lara31 [8.8K]

Answer:

A point system assigns point values to traffic violations for each state. When the DMV receives a conviction notice from the court, the offense is entered on your driving record and points are assigned. These points are counted during a specified time period.

Explanation:

3 0
3 years ago
Alberto's mom is taking a splinter out of his hand with a pair of tweezers. The tweezers are 3 inches long. She is applying .25
Burka [1]

Answer:

ok

Explanation:

here you go

5 0
4 years ago
Read 2 more answers
Will give brainly
Ksivusya [100]

Answer:

Here you go!!

Explanation:

If I were to write a book I would write my steps down as in figuring out what I what to talk about. Have an Introduction- Using an introduction is needed because you need to Describe your main idea, or what the essay is about, in one sentence. ... Develop a thesis statement, or what you want to say about the main idea. ... List three points or arguments that support your thesis in order of importance (one sentence for each). I would also use a Rising action- This is needed because, To construct the plot, nearly any story can be said to use increasing action. It serves the following purposes: It generates suspense and enhances the sense of urgency around the story's central conflict or problem. Then I would do a Climax- The object of a climax is not to provide the most possible conflict or action. It's also not just about producing the character's greatest reversal of fortunes. Too often we mistake the fortunes of our character with the story's arc, and although fortune is involved, it's not our story arc's key criterion. After that, I would just add finish touches and finish it off before it needs to be shipped off to make copies.

8 0
3 years ago
Other questions:
  • Work-producing devices that operate on reversible processes deliver the most work, and work-consuming devices that operate on re
    6·1 answer
  • What is the nickname for nigeria​
    12·2 answers
  • What is the entropy of a closed system in which 25 distinguishable grains of sand are distributed among 1000 distinguishable equ
    5·2 answers
  • A single-lane bridge connects the two Vermont villages of North Tunbridge and South Tunbridge. Farmers in the two villages use t
    5·1 answer
  • Recovery Assignment 3: Engineering ethics 1 1/2 page typed
    6·1 answer
  • 1. An asbestos pad is square in cross section, measuring 5 cm on a side at its small end, increasing linearly to 10 cm on a side
    15·1 answer
  • TWO SENTENCES!!! What is something that you have used today that was designed by an engineer? What parts were designed by an eng
    11·2 answers
  • Limestone scrubbing is used to remove SO2 in a flue gas desulfurization (FGD) system. Relevant reactions are given below. A lime
    8·1 answer
  • HELP PLEASE ! TYYYY!!!!!!!!!!!!!!!!!!!!!!!!
    13·1 answer
  • Arm coverings can NOT protect you from cuts or puncture wounds. Is this statement<br> TRUE or FALSE?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!