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]
2 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]2 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
The Bohr radius a0 is the most probable distance between the proton and the electron in the Hydrogen atom, when the Hydrogen ato
katen-ka-za [31]

Answer:

The electric force is  F =  11.9 *10^{-9} \ N

Explanation:

From the question we are told that

    The  Bohr radius at ground state is  a_o  =  0.529 A =  0.529 ^10^{-10} \ m

    The values of the distance between the proton and an electron  z =  2.63a_o

The electric force is mathematically represented as

     F  =  \frac{k * n  * p }{r^2}

Where n and p are charges on a single electron and on a single proton which is mathematically represented as

      n = p  =   1.60 * 10^{-19} \ C

    and  k is the coulomb's  constant with a value

           k =9*10^{9} \ kg\cdot m^3\cdot s^{-4}\cdot A^2.

substituting values

       F =  \frac{9*10^{9} *  [(1.60*10^{-19} ]^2)}{(2.63 * 0.529 * 10^{-10})^2}

         F =  11.9 *10^{-9} \ N

     

3 0
3 years ago
If an engine has a compression ratio of 7:1,
kolezko [41]
The answer is A. Hope this helps!!!
6 0
3 years ago
Read 2 more answers
Why you do scientists collect multiple trials?
sergiy2304 [10]

"When we do experiments it's a good idea to do multiple trials, that is, do the same experiment lots of times. When we do multiple trials of the same experiment, we can make sure that our results are consistent and not altered by random events. Multiple trials can be done at one time."

6 0
3 years ago
4. How often does the sun's magnetic field reverse?
miv72 [106K]
Answer: Every 11 years
3 0
2 years ago
Read 2 more answers
An object is at rest in front of a compressed spring. It travels over a surface that exerts a kinetic frictional force on it and
PolarNik [594]

Answer:

the object will travel 0.66 meters before to stop.

Explanation:

Using the energy conservation theorem:

E_i+K_i+W_f=K_f+U_f

The work done by the friction force is given by:

W_f=F_f*d\\W_f=\µ*m*g*d\\W_f=0.35*4*9.81*d\\W_f=13.7d[J]

so:

\frac{1}{2}1800*(10*10^{-2})+0-13.7d=0+0\\d=0.66m

3 0
3 years ago
Other questions:
  • A parallel-plate capacitor is charged by connecting it across the terminals of a battery. If the battery remains connected and t
    15·1 answer
  • Which state of matter has the greatest distance between the individual particles
    8·2 answers
  • A car whose mass is 1000kg is traveling at a constant speed of 10 m/s2. Neglecting any friction, how much force will the engine
    5·1 answer
  • It is well known that bullets and other missiles fired at Superman simply bounce off his chest. Suppose that a gangster sprays S
    13·1 answer
  • One light-year is the distance light travels in one year. This distance is equal to 9.461 1015 m. After the sun, the star neares
    6·1 answer
  • Which part of the digestive system assists in breaking down food into smaller molecules? Small Intestine Stomach The mouth, teet
    11·2 answers
  • Make the following conversion: 34.9 cL = _____ hL
    8·1 answer
  • michelle withdrew 120$ from her bank account. she now has 3345$ in her account qrite and solve an equation to find how much mone
    7·2 answers
  • Quick please I'll give you brainliest.
    12·1 answer
  • A student makes this statement before conducting an experiment on electromagnetic radiation: "We expect the laser to diffract wh
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!