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
What is the total wavelength if one-half of the wave is 3?
seraphim [82]

Answer:

6

Explanation:

Half the wave = 3

Wavelength = 3 x 2 = 6

3 0
3 years ago
Define the word logrolling in your own words?
Elan Coil [88]
A crazy sport thats kinda dangerous
3 0
3 years ago
Read 2 more answers
when an object moves with constant velocity, does its average velocity during any time interval differ from its instataneous vel
BigorU [14]
For a constant-velocity object, the average and instantaneous are the same.  So the answer is no.  It's like taking a running average of a string of numbers that are all the same number.  The average is always the sum of the numbers divided by how many have accumulated, which will always equate to the repeated number.
8 0
4 years ago
How does light travel?
Ivenika [448]

Answer:

C

Explanation:

light can travel in a vacuum Anne the sped varies

7 0
3 years ago
Read 2 more answers
the pressure of gas in a cylinder is 70 kilopascals. if the volume of the cylinder is reduced from 8.0 liters to 4.0 liters, wha
Olegator [25]
By Boyle's law:

P₁V₁ = P₂V₂

70*8 = P<span>₂*4

</span>P<span>₂*4 = 70*8
</span>
P<span>₂ = 70*8/4 = 140
</span>
P<span>₂ = 140 kiloPascals.</span>
3 0
3 years ago
Other questions:
  • An astronaunt in a space capsule orbiting the earth experience weightlessness. why?
    5·1 answer
  • Use the work–energy theorem to solve each of these problems. Then use Newton’s laws to check your answers. Neglect air resistanc
    9·1 answer
  • During normal beating, the heart creates a maximum 4.00-mV potential across 0.300 m of a person’s chest, creating a 1.00-Hz elec
    7·1 answer
  • When hung from an ideal spring with spring constant k = 1.5 N/m, it bounces up and down with some frequency ω, if you stop the b
    6·1 answer
  • Which of the following statements is true for real gases?
    12·2 answers
  • Use technology and the given confidence level and sample data to find the confidence interval for the population mean muμ. Assum
    5·1 answer
  • Two boxes on opposite ends of a massless board that is 3.0 m long. The board is supported in the middle by a fulcrum. The box on
    11·1 answer
  • Pleas help me phyic science
    14·1 answer
  • 12. a) What is the gravitational attraction of the sun
    13·1 answer
  • What is the best prediction for what will happen when all of the hydrogen in the sun has undergone fusion? helium nuclei will sp
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!