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
Is the tropic of cancer north or south of the equator?
Daniel [21]
It’s North of the equator
3 0
3 years ago
Read 2 more answers
Escribir usando prefijos, en unidades del Sistema Internacional: longitud del ecuador, radios del núcleo y átomo, segundos de un
julia-pushkina [17]

la característica de los elementos

5 0
3 years ago
How does the ringing sound of a telephone travels from the phone to your ears?
Sedaia [141]
The "ringing sound" are actually the soundwaves travelling from the phone to your ears.
6 0
3 years ago
In 3 seconds a car moving in a straight line increases its speed from 22.4 m/s to 29.1 m/s while a truck increases its speed fro
ANTONII [103]
Is there a picture?
6 0
3 years ago
12.Two ice skaters are initially at rest. The 78.2 kg male ice skater pushes his 48.5 kg female partner forward and away from hi
NeTakaya

Answer:

The male skater's velocity is 13.71 m/s.

Explanation:

From the law of conservation of momentum:

m1u1 = (m1 + m2)u2

m1 is the mass of the male skater = 78.2 kg

m2 is the mass of the female skater = 48.5 kg

u1 is the velocity of the male skater as a result of the push

u2 is the velocity with which the male skater pushed away the female skater = 8.46 m/s

u1 = [(78.2+48.5)8.46] ÷ 78.2 = 1071.882 ÷ 78.2 = 13.71 m/s

3 0
3 years ago
Read 2 more answers
Other questions:
  • ...............................................................help
    5·1 answer
  • The 0.18 kg block oscillates back and forth along a straight line on a frictionless horizontal surface. Its displacement from th
    12·1 answer
  • An atom’s emission of light with a specific amount of energy confirms that
    12·2 answers
  • What is the density of cylindrical (coin) object if it has a mass of 0.69 kg , and a radius of 0.03 m, along with a thickness of
    12·1 answer
  • Were is conflicting testimony in a court
    7·1 answer
  • How does the force placed on an object affect how it moves?​
    5·1 answer
  • What type of heat is shown coming from the metal hook
    11·1 answer
  • Compared to the inertia of a 2.0 kg ball, the inertia of a 4.0 kg ball is
    9·1 answer
  • Light travels from medium X into medium Y. Medium Y has a higher index of refraction. Consider each statement below:(i) The ligh
    7·1 answer
  • Does an object in motion stay in motion
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!