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
viktelen [127]
3 years ago
14

Instructions Write a program that inputs the length of two pieces of fabric in feet and inches (as whole numbers) and prints the

total. Sample Run Enter the Feet: 3 Enter the Inches: 11 Enter the Feet: 2 Enter the Inches: 5 Sample Output Feet: 6 Inches: 4
Physics
1 answer:
diamong [38]3 years ago
4 0

Answer:

The code is written in python in the explanation section below

Explanation:

a_feet = int(input("Input the feet of the first fabric: "))

a_inches = int(input("input the size in inches for the first piece of fabric: "))

b_feet = int(input("input the size in Feet for the second piece of fabric: "))

b_inches = int(input("Enter the size in Inches for the second piece of fabric: "))

sum_inches = a_inches + b_inches

inches_to_feet = sum_inches // 12

rem_from_div = sum_inches % 12

sum_feet = a_feet + b_feet + inches_to_feet

print("Feet: {} Inches: {}".format(sum_feet, rem_from_div))

You might be interested in
How long does it take to change a flat plain into mountains?
ss7ja [257]
It would take millions of years to form a mountain as plates move very slowly and to form it first one plate should climb upon another. After this very slowly this hill will convert into a mountain.
5 0
3 years ago
A woman is sitting in her hotel room when there is a knock at the door. She opened the door to see a man whom she had never seen
Allisa [31]
Ooh. You don't knock on your own hotel door- <span> a knock at the door is your key word.
</span>x
5 0
3 years ago
Read 2 more answers
→Fo
irakobra [83]

Answer:

The mass of the block, M =T/(3a +g)  Kg

Explanation:

Given,

The upward acceleration of the block a = 3a

The constant force acting on the block, F₀ = Ma = 3Ma

The mass of the block, M = ?

In an Atwood's machine, the upward force of the block is given by the relation

                                     Ma = T - Mg

                                      M x 3a = T - Ma    

                                    3Ma + Mg = T

                                       M = T/(3a +g)  Kg

Where 'T' is the tension of the string.

Hence, the mass of the block in Atwood's machine is, M = T/(3a +g)  Kg

3 0
3 years ago
Read 2 more answers
A positive test charge q is released from rest at distance r away from a charge of +Q and a distance 2r away from a charge of +2
Svetradugi [14.3K]

Answer:

B. to the right

Explanation:

Given:

  • test charge +q
  • distance of the test charge from +Q, r
  • distance of test charge from +2Q, 2r

<u>Force on the test charge due to +Q:</u>

F_1=k.\frac{Q.q}{r^2}

<u>Force on the test charge due to +Q:</u>

F_2=k.\frac{2Q.q}{(2r)^2}

F_2=k.\frac{Q.q}{2r^2}

Since all the charges are positive here, so they will try to repel the test charge away. And the force due to charge +Q will be greater so initially the test charge will move rightwards away from the +Q charge.

3 0
3 years ago
Read 2 more answers
If the volume of a container increases, then the pressure will:
Elza [17]
d because the pressure particals won't have a small space to bump to
8 0
3 years ago
Other questions:
  • A reaction that absorbs 49.6 kj from the surroundings in a vessel that undergoes a volume decrease of 1.25 l at a constant 4.00
    8·2 answers
  • Crews at the International Space Station are researching the effects of the weightlessness of space on ________.
    10·2 answers
  • A 2,000 g quantity of C-14 is left to undergo radioactive decay. The half-life of C-14 is approximately 5,700 years. After going
    15·2 answers
  • What is the transfer of energy to an object using a force that causes the object to move in the direction of the force?
    13·1 answer
  • A rock layer that stores and transmits water​
    5·1 answer
  • If the rocket burns its fuel in a time of 50.0 s and the relative speed of the exhaust gas is vex = 2100 m/s, what must the mass
    10·1 answer
  • 47. the beam is supported by two rods ab and cd that have cross-sectional areas of 12mm^2 and 8mm^2, respectively. determine the
    6·1 answer
  • 5. A helicopter scoops a load of water out of a lake, to dump on a forest fire. The helicopter exerts 6480
    7·1 answer
  • A ball has a mass of 2g and a velocity of 3m/s. What is the ball's Kinetic Energy?​
    5·1 answer
  • An electron travels 1.49 m in 7.4 µs (microsecWhat is its speed if 1 inch = 0.0254 m? Answer in units of in/min.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!