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

Write A Program That Inputs The Length Of Two Pieces Of Fabric In Feet And Inches(as Whole Numbers) And

Answers

Answer 1

Converting from inches to feet requires a modulo operator.

The modulo operator returns the remainder of a division.

The program in Python, where comments are used to explain each line is as follows:

#This gets the input for feet

feet1 = int(input("Enter the Feet: "))

#This gets the input for inches

inch1 = int(input("Enter the Inches: "))

#This gets another input for feet

feet2 = int(input("Enter the Feet: "))

#This gets another input for inches

inch2 = int(input("Enter the Inches: "))

#This calculates the total inches, using the modulo operator

totalInches = (inch1 + inch2)%12

#This calculates the total feet

totalFeet = feet1 + feet2 + (inch1 + inch2)//12

#This prints the required output

print("Feet: {} Inches: {}".format(totalFeet,totalInches))

At the end of the program, the total feet and total inches are printed.

Read more about similar programs at:

https://brainly.com/question/13570855


Related Questions

An analog video is a video signal transmitted by an analog signal, captured on a (blank)

Answers

Answer:Analog component signals are comprised of three signals, analog R′G′B′ or YPbPr. Referred to as 480i (since there are typically 480 active scan lines per frame and they are interlaced), the frame rate is usually 29.97 Hz (30/1.001) for compatibility with (M) NTSC timing.

Explanation:

1.a computer can create an output based on the input of the user.

process store retrieve communicate personal computer desktop computer laptop computer netbook tablet smartphone server game consoles​

Answers

Answer:

But users are very much aware of the input and output associated with the computer. They submit input data to the computer to get processed information, the output. Sometimes the output is an instant reaction to the input. ... The output is the computer's instant response, which causes the forklift to operate as requested.

what does the term attenuation mean in data communication?

Answers

Simple Answer: Loss of signal strength

Information: Attenuation is the loss of signal strength in networking cables or connections

Solve using the standard algorithm 758 x 92

Answers

The answer to the following problem using Standard Algorithm is 69,739. See the explanation below and the attached image.

How do you perform a standard Algorithm?

A standard Algorithm means that you do the multiplication by hand. Traditional methods or standard algorithms involve multiplying numbers and ordering the result by bit value. Here are the steps to do long multiplication manually:

Arrange the numbers on top of each other and put the values ​​in the columns. The number with the most digits is usually placed at the top as the multiplier.Start from one digit in the bottom digit, multiply by the last digit in the top digitWrite your answer under the equal signIf the answer is greater than nine, enter the number one as the answer and indicate the level numberContinue from right to left. Multiply one digit in the bottom digit by the next digit to the left of the top digit. If you carry a number with you, add it to the result and write the answer under the equal sign. If you must wear it again, please do. As you multiply ones by each digit of the top digit, move to the digit at the level of the bottom digit.Multiply as above, but this time write the answer on a new line and move one digit to the left. After multiplying, draw another answer line below the answer numbers in the last row.Add your column of numbers from right to left using long addition and carry as you would normally do long addition.

Learn more about Standard Algorithm:

https://brainly.com/question/28626488

#SPJ1

help help help

Read the list of courses from a technical school (w3schools).

Which courses would prepare for you for a career in web development?
(Choose more than one answer)

Designing for Usability
Introduction to Networks
Technical Writing
Cybersecurity

Answers

The courses that would prepare you for a career in  web development are:

Designing for UsabilityTechnical Writing

To prepare for a career in web development, the following courses from a technical school like W3Schools would be beneficial:

Designing for Usability: This course focuses on user-centered design principles and techniques, teaching you how to create web interfaces that are intuitive, user-friendly, and visually appealing. It covers topics such as user research, information architecture, wireframing, and prototyping.Technical Writing: Effective communication is crucial in web development. This course teaches you how to write clear, concise, and well-structured technical documentation. You'll learn about writing for different audiences, organizing information, using appropriate language and style, and documenting code and processes.

Taking these courses will help you develop important skills for a career in web development. Designing for Usability will enhance your ability to create user-friendly websites, while Technical Writing will improve your communication skills, enabling you to document and explain your work effectively.

Courses like Introduction to Networks and Cybersecurity may be valuable in other IT fields, but they are not directly related to web development and may not be as relevant to this specific career path.

For more such question on Designing

https://brainly.in/question/56183783

#SPJ8  


Why is it important to create a web maintenance schedule? Check all of the boxes that apply.

Answers

Attach a picture so we can see the question

A, B, D

I just did it mate :)

plz help me

Marie has never used a word processor. in 3 to 4 sentences describe how she could benefit from using a word processor to complete school writing assignment.​

Answers

Her info would be clear to read. This means it cold flow better, and make more sense when reading it. If she didn't use it, she might have unclear sentences.

Lonnie needs to use a special kind of block in his game that will tell him whether an object has slammed into his car true or not false what kind of block should Lonnie use

Answers

Block in programming in other to evaluate a condition such that it returns a boolean upon which a statement or action is then taken is the conditional block . Hence, Lonnie should use the conditional block.

The conditional block evaluates a condition and gives a True or False output which can the be used perform any statement or action of choice.

Lonnie could use the block as follows :

if (object_slammed_into_car) :

Statement

else :

Statement

The statement could be replaced with True, False values or any output of choice.

Learn more : https://brainly.com/question/25264145

please help me i give brainly

Answers

Answer:

I hope this is right, but it may not be so you might want to recheck your lesson, but i hope this helps you. Have a great day!

Explanation:

what is the process where a computer starts up and automatically loads the operating system​

Answers

Answer:

What is Booting

Explanation:

The process of bringing up the operating system is called booting (originally this was bootstrapping and alluded to the process of pulling yourself up "by your bootstraps"). Your computer knows how to boot because instructions for booting are built into one of its chips, the BIOS (or Basic Input/Output System) chip.

Did this help?

Brainly, thank you, rating are all very much appreciated!

Smile ; ) - Miss Hawaii

Explanation:

The process of loading the operating system into memory is called bootstrapping, or booting the system.

when is not appropriate to be funny in a headline

Answers

Answer: I it is something serious like the death of a person then you should not be funny

What is 11100111 to decimal form?

Answers

Answer:

231

Explanation:

Answer 111001.11
Work
11100111/100= 111001.11

How does net neutrality protect your information? Do they connect everyone into something?

Answers

Answer:

Net neutrality law focuses on regulating and/or preventing three main practices:

Blocking: ISPs cannot block or prevent access to any lawful content on the web.

Paid prioritization: Providers cannot prioritize companies or consumers who pay a premium for a “fast lane” and keep those who don’t pay in a “slow lane.”

Throttling: Providers cannot limit your bandwidth or slow your connection based on your internet activities.

Without net neutrality or other laws protecting equal content, ISPs could, in theory, block certain websites and favor others. For example, your internet provider could theoretically make Netflix slower in order to push you towards its cable TV service.

Or, Xfinity could allow their subscribers to stream Peacock content (which they own through NBCUniversal) for free, while charging subscribers for watching Netflix. With net neutrality, you would have free and equal access to both Peacock and Netflix.

Another example would be your ISP slowing your connection every time you try to game over Twitch, but speeding it back up again when you’re not gaming, a practice known as throttling.

Explanation:

Answer: Net neutrality rules prevent this by requiring ISPs to connect users to all lawful content on the internet equally, without giving preferential treatment to certain sites or services. In the absence of net neutrality, companies can buy priority access to ISP customers.

plsssssssss help me​

Answers

Answer:

1. physical hazard

2. psychological hazard

3. biological hazard

4. physical and/or psychological hazard

5. chemical hazard

6. physical hazard

7. chemical hazard

8. biological hazard

Explanation:

You do the rest

You have answered 12 of 23 questions.
ing
1
Question # 13
A group of computers that share resources are called what?
2
O A server
3
O A personal computer
O A router
1
O A network
Read Question

Answers

Answer:

the answer is a network because the others are for different things

what threat do insiders with authorized access to information or information systems pose

Answers

Answer:

Depens on the permissions the user has been granted if the user leaks the infomation it will break the CIA triad rule. To be more specific it will break the confidentiality rule in the triad. If the user has the permission to delete data it will break the availability rule because the data is not avaliable as the user deleted the data. If the user has permissions to edit the data, it will break the integrity rule in the triad because the data is no longer reliable or trustworthy.

What is computer specification

Answers

Answer:

Computer hardware specifications are technical descriptions of the computer's components and capabilities. Processor speed, model and manufacturer. Processor speed is typically indicated in gigahertz (GHz). The higher the number, the faster the computer.

what is a for command? can u use a variable instead of a number in the for command!

Answers

Answer:

A for loop is a block of code where a certain instruction repeats a certain amount of times.

Yes, you can use a variable instead of a number in a for loop.

Explanation:

For example, you're using a for loop and you want to repeat it a certain amount of times, but you want to take user input. You would ask the user for their input and assign it to a variable, then use that variable for the for loop.

Bob gets an e-mail addressed from his bank, asking for his user ID password. He than notices that the e-mail has poor grammar and incorrect spelling. He calls his bank to ask if they sent the e-mail, and they promptly tell him they did not and would not ask for that kind of infromation, What is this type of attack called

Answers

Answer:

A Fraud Attack(or scam :D)

Explanation:

EZ answers friend and put THANKS in my profile

What is the value of x after running this code?

x = 0
for y in [1,2,3,4,5,6,7,8,9,10]:
x = x + y

Answers

counter = 1

sum = 0

while counter <= 6:

sum = sum + counter

counter = counter + 2

print(sum)

A. 12

B. 9

C. 7

D. 8

✔️ Correct! This loop executes 3 times. After the first loop sum = 1 and counter = 3, after the second loop sum = 4 and counter = 5, and after the third loop sum = 9 and counter = 7.

When the code runs it sums up the numbers, which results in 55. It says AFTER the code is finished so the answer will be 55. You can verify this by printing X again after the for loop

most computers have temporary holding areas called __________.

Answers

Answer:

Random Access Memory (RAM)

RAM (Random access memory)

which mathematician is regarded as the first computer programmer?

Answers

Answer:

Ada Lovelace

Explanation:

What are some limitations when it comes to testing and ensuring program quality? List at
least two limitations; you may refer to specific kinds of testing in your answer.

Answers

Answer:

the two limitation i can think about is the efficiency like if there are bugs or glitches or if it can get broken into and the second one is if it is running the correct program or not a lot of people deal with this problem.

Explanation: personally these are the two i can come up with at the moment

The two limitations that come arrive in the process of testing and ensuring program quality are as follows:

The errors and kinds of glitches in modern technology seem like distractions in usual life. The overdependency on these resources may harmful to a larger extent.

What is Program quality?

Program quality may be defined as the fundamental properties of the program's source code and executable code, including reliability, robustness, usability, portability, maintainability, efficiency, and readability.

According to the context of this question, there are various limitations in each and every field of development whether it is science or technology. Similarly, there are a lot of drawbacks in testing and ensuring program quality. You have to manage each and everything in a systematic way in order to ensure the testing of program quality.

To learn more about Program quality, refer to the link:

https://brainly.com/question/13381607

#SPJ2

mention two cables that connect the monitor to the system unit​

Answers

Answer: The power cable and the connecter cable.

Explanation:

PLEASE HELP THIS IS CONFUSING ME

Answers

Answer:

The answer is:

Yes, because Antonio clearly copied someone else's words.

Explanation:

It is still forbidden to plagiarize Wikipedia despite it being a Open-Source Data base of information. This means, unless you directly cite in a bibliography or with in-text citations, the article, the author, and everything else needed in the proper citations for the format, it is plagiarism.

Answer:

Yes, Antonio is plagirizing since he did not site the author of that specific Wikipedia Page.

Explanation:

Plagirisim can be avoided by citing the source of the paragraph, but you need to be specific by stating the author of the pargraph, and what the title of the webpage or book was. Otherwise, you can be suspect to prosecution and suspention at your school.

What does elif mean? A. else B. if C. eliminate if D. else if

Answers

Answer:d

Explanation:

Answer:

D. else if

Explanation:

Elif is short for else if.....

Do a quick search for “The Sun”. What types of results do you see?

Answers

Answer:

What happens when you look at the Sun?

When you stare directly at the sun—or other types of bright light such as a welding torch—ultraviolet light floods your retina, literally burning the exposed tissue. Short-term damage can include sunburn of the cornea—known as solar keratitis. ... This occurs when UV light literally burns a hole in the retinal tissues.Oct

how do ""night modes"" on computer screens help people fall asleep?

Answers

Answer:

it doesn't really help people fall asleep but

Explanation:

When it gets dark, your pineal gland secretes the hormone melatonin, which tells your body to get tired and go to sleep.

Answer:

Answer it doesn't really help people fall asleep but some people it can

Explanation:

Most people dont fall asleep while on computers but the people who do it helps because the screen is not all bright and doesn't keep your eyes wide open

WILL GIVE Brainliest!!!!
Select the six criteria for a baseline.
goal

future

defines

assessment

desired

beginning

score

progress

broad

start

Answers

Answer:

start

Explanation:

Answer:

desired

goal

progress

start

defines

future

Explanation:

what is know of father of computer

Answers

Answer: Charles Babbage is the father of the computer.

Explanation:

Other Questions
What term describes the amount you must pay in order to be considered up-to-date with your credit card payments?InterestMinimum paymentClosing balance Overpopulation is directly related to which of the following concepts?agricultural density(carrying capacityspace time compressionDdiffusion of agricultural technologyEindustrial revolution When Douglasss grandmother is too old to work, she is sent to the woods to die alone. Thinking about society and the way we treat one another, how would you describe the value our society gives to older/elderly people? Simplify the expression to a + bi form:(11 + 9i)2 PLEASE HELP ME I REALLY NEED ITTT Based on the passage, what does de Azurara argue was the major motive behind Henrys actions? Donna bought 4 bags of dog treats for $10.72. What is the cost per bag of dog treats? The distributive property simplify each expression. Question 3. 3(4+3r) which statement describes what happens when ice melts, according to the kinetic theory? Which of the following functions is graphed below? The value of sin 240 is Help i need this done by tomorrow Can someone take screeen shots and do tha work then send it ill make u brainliast To find out how fast a tree grows, you can measure its trunk. A giant red oak's diameter was 248 inches in 1965. The tree's diameter had grown to 251 inches in 2005. Find the average rate of change in the diameter of the tree per year.CLEAR CHECK1313 inches per year-0.075 inch per year0.075 inch per year3 inches per year Question 1 of 10Which part of the First Amendment says that citizens are allowed to practiceany religion they choose?A. The establishment clauseB. The separation clauseC. The freedom of association clauseD. The free exercise clause Some metamorphic rocks experience extreme pressure and form layered bands or are said to be _______________________, while others without bands are said to be ____________________ If you were given the opportunity to interview a celebrity, who would you choose? what type of questions would you ask them? why would you do ask these questions? please write at least 3 full sentences for credit. Which of the following is not true?p+q = q+p p x q = q x p p x (q x r)=(p x q ) x r p - q = q - pPlz answer my exam is going on right now Simplify the expression. -17+[(8-3)-(-14-19)]= Click an item in the list or group of pictures at the bottom of the problem and, holding the button down, drag it into thecorrect position in the answer box. Release your mouse button when the item is place. If you change your mind, dragthe item to the trashcan. Click the trashcan to clear all your answers.Place the indicated product in the proper location on the grid.6xy(3x2 - xy + $x2)IIIya b cx y1234567890Z Indicate whether the statement makes sense or not.No va a estudiar porque tiene que recibir notas buenas.a) sib) no