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
Dovator [93]
3 years ago
6

When you make taffy (a pliable candy), you must heat the candy mixture to 270 degrees Fahrenheit. Write a program that will help

a cook make taffy. The cook should be able to enter the temperature reading from their thermometer into the program. The program should continue to let the cook enter temperatures until the temperature is at least 270 degrees. When the mixture reaches or exceeds 270 degrees, the program should stop asking for the temperature and print Your taffy is ready for the next step!. However, if the temperature ever reaches above 330 degrees, print You burned the taffy!
Computers and Technology
1 answer:
hichkok12 [17]3 years ago
3 0

Answer:

The solution code is written in Python 3.

  1. temp = int(input("Enter current temperature (Fahrenheit): "))
  2. while(temp < 270):
  3.    temp = int(input("Enter current temperature (Fahrenheit): "))
  4.    
  5. if(temp > 330):
  6.    print("You burned the taffy!")
  7. else:
  8.    print("Your taffy is ready for the next step")

Explanation:

Firstly, we can try to get a first temperature reading (Line 1)

if the first reading is smaller than 270, keep prompting user for the next reading using while loop (Line 3 - 4)

if the input temperature is bigger or equal to 270, the program will exist the while loop and proceed to check if the final temperature reading is bigger than 330 to determine an appropriate message to display (Line 6 - 9).

You might be interested in
Which chart element provides the boundaries of the graphic?
slava [35]
If your choices are the following:
<span>A. Legend
B. Chart area
C. Slices
D. Chart elements

Then the answer is letter B. </span>Chart area is the boundary that contains all the chart and all its elements including the chart titles, legends, plot area, labels, etc. 
4 0
4 years ago
Lydia is trying to take an aerial shot from the window of an airplane. Where should she hold her camera to get the best shot?
IrinaVladis [17]
Inside The window inside the house
8 0
3 years ago
A Turing machine with stay put instead of left is similar to an ordinary Turing machine, but the transition function has the for
sasho [114]

Answer:

The class of language the machines recognise is Regular Language (See Explanation Below)

Explanation:

Given

Form δ : Q × Γ → Q × Γ × {R, S}

From the above transition form, it can be seen that the machine cannot read square symbols passed to it.

Regarding the square the machine is currently reading, there are multiple movement of S and it shouldn't be so because any number of the multiple movement can be simulated by exactly one movement of S.

As stated earlier that sequence of moves can be simulated by just one movement.

Let R = the movement

This means the machine can only use right move efficiently.

With this, we can say that the machine only read input string.

This is a characteristic of DFA (Deterministic Finite Automata).

With this, we can conclude that some DFAs will simulate the Turing machine and that they only read regular language.

5 0
3 years ago
Indirect materials include ______. multiple choice question.
Natasha2012 [34]

Factory rent and insurance.

<h3>what is Indirect material?</h3>
  • Indirect materials are goods that, while part of the overall manufacturing process, are not integrated into the final product.
  • For example, disposable gloves, personal protective equipment, tape, etc

To learn more about it, refer

to brainly.com/question/25689052

#SPJ4

8 0
1 year ago
Quiz 2: a _____ is any computer that provides services and connections to other computers on a network.
SIZIF [17.4K]
The answer could be "server"
4 0
3 years ago
Other questions:
  • A college meal plan allows students to:
    7·2 answers
  • Using an LCD projector to show an online video to a group of people is an example of:
    14·1 answer
  • Digital Subscriber Line (DSL) is a way for traditional telephone companies to provide Internet access a way for traditional cabl
    10·2 answers
  • And computers are the most commonly seen microcomputers.
    10·1 answer
  • NEED ASAP!!
    14·1 answer
  • Which software development team memeber is responsible for the timeline and budget
    9·1 answer
  • The first field of an Internet Control Message Protocol (ICMP) packet specifies the message type. Which choices represent messag
    12·1 answer
  • How do u mark bralienst
    5·1 answer
  • What is the result of the following code fragment?
    5·1 answer
  • What is the decimal form of the following binary ip address? 11001101.00111001.10101001.01000010
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!