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
¿Quien desarrolló el método físico experimental?
Viefleur [7K]

Answer:

Explanation:

El 15 de febrero de 1564 nacía Galileo Galilei (1564-1642). Galileo Galilei es una de las figuras claves de la historia de la Ciencia, pudiéndosele considerar el primero que aplicó el método científico experimental-matemático.

7 0
3 years ago
Question 3 Please, i need help! Thank you
Tom [10]
I don't know this 1 I'm sorry I can't help you 
4 0
3 years ago
Technician A says the manual lever position (MLP) switch is sometimes called a transmission range switch or a neutral safety swi
Phantasy [73]

Answer:

i think it is Technician a

3 0
4 years ago
What type of motion occurs when an object spins around an axis without altering its linear position?
myrzilka [38]
<h2><em>C. translational motion</em></h2><h2><em>HOPE IT HELPS !!!!!</em></h2>
8 0
3 years ago
How do you compare the energies of the different parts of the electromagnetic spectrum?
faltersainse [42]

The different types of radiation in electromagnetic spectrum are compared by the amount of energy found in the photons.

Radio waves have photons with low energies, microwave photons have a little more energy than radio-waves. Infrared photons still have more energy, then comes visible, ultraviolet, x-rays and the most energetic of all, gamma rays.

The energy associated with electromagnetic radiation is proportional to frequency and inversely proportional to wavelength. So, electromagnetic waves with shorter wavelengths have more energy.

On one end of the electromagnetic spectrum are radio waves, which have wavelengths billions of times longer than those of visible light. On the other end of the spectrum are gamma rays with wavelengths billions of times smaller than those of visible light.

To know more about electromagnetic spectrum:

brainly.com/question/27839167

#SPJ4

5 0
1 year ago
Other questions:
  • What will change the velocity of a periodic wave?
    15·2 answers
  • A man is riding his 4-wheeler at 60 km/hr. If he is riding it constantly at
    13·1 answer
  • The colors you see during a sunset are caused by _____. the refraction of light by the atmosphere the absorption of light by the
    15·1 answer
  • What is the definition of force?
    10·1 answer
  • Sound waves travel in air at 343 m/s. The lowest frequency one can hear is 25.0 Hz; the highest frequency is 25.0 kHz. Find the
    12·1 answer
  • Given that the acceleration of gravity at the surface of Mars is 0.38 of what it is on Earth, and that Mars' radius is 3400 km,
    5·2 answers
  • (PLEASE HELP THANK YOU) A car is going 8 meters per second on an access road into a highway and then accelerates at 1.8 meters p
    15·1 answer
  • A block with mass M attached to a horizontal spring with force constant k is moving with simple harmonic motion having amplitude
    12·1 answer
  • Scientists have detected an asteroid that is 700,000,000 km from Earth. About how many astronomical units is that? 0. 5 AU 1 AU
    9·2 answers
  • speedy drives horizontally off a clif with a velocity of 15 m/s. he lands 30m from the base of the cliff. how high is the cliff?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!