To convert the inputs to dollars and cents, we make use of a combination of multiplication and addition.
The program written in Python where comments are used to explain each line is as follows:
<em />
<em>#This gets input for the number of quarters</em>
quarters = int(input("Quarters: "))
<em>#This gets input for the number of dimes</em>
dimes = int(input("Dimes: "))
<em>#This gets input for the number of nickels</em>
nickels= int(input("Nickels: "))
<em>#This gets input for the number of pennies</em>
pennies= int(input("Pennies: "))
<em>#This converts the amount to dollars and cents</em>
dollars = quarters * 0.25 + dimes * 0.10 + nickels * 0.05 + pennies * 0.01
<em>#This prints the amount to 2 decimal places</em>
print("Amount ${:.2f}".format(dollars))
Read more about Python programs at:
brainly.com/question/22841107
The
answer is FALSE because the
interior of commercial Hard disk drive is with stack of magnetic disks
(platters) containing the user’s data and a rotating arm supporting the magnetic
heads. The rotating arm is moved by the torque generated by a voice coil motor
(VCM) mounted at one end of the arm. Data read/write operations rely on the capability of the
governing unit of the HDD to maintain the magnetic read/write heads as close as
possible to center of the desired track. Typically, reliability of data reading
and writing is guaranteed when the head is kept within 5% of the track pitch
from the track center. This means that the accuracy required for the head positioning
is in the range of a few tens of nanometers.
Answer:
Both careers speak to an audience; however, people involved in the performing arts speak only to a live audience.
Explanation:
sorry im late but im not sure
Answer:
the RAM if i am not mistaking
Was this a question on an assignment or are you in an asylum right now