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
The Syntax NPV formula includes the Rate, The Cash Flows, the number of payments, and the Future
Tems11 [23]

Answer:

False

Explanation:

NPV stands for Net Present Value, it is an important term in finance as it used to determine the value of money or investment based on a series of cashflows and specified discount rate. Excel provides a functions which aids easy calculation of the Net Present value of money or investment using the NPV formula. The syntax forbthe NPV formula is :

=NPV(rate,value 1, [value 2],...)

This formular requires only tow key parameters ; the discount rate, which comes first and the cashflows, which is designated in the syntax as values ; the cashflows is usually placed in a range of cells in excel and the cell range is inputed in the formular. Hence, the number of payments and future value aren't part of the NPV syntax.

5 0
3 years ago
Free Brainliest Again
REY [17]

Answer:

hi

Explanation:

7 0
3 years ago
Read 2 more answers
How do I sort a code in alphabetical order that uses this FileReader inFile = new FileReader("MyStudents.txt"); in a binary sear
stiv31 [10]
Try searching it up , you’ll probably find exactly how to do it
7 0
2 years ago
Write a script to check command arguments (3 arguments maximum). Display the argument one by one. If there is no argument provid
serious [3.7K]

Answer:-args (

if:args=true

-cont

if:args=false

-cont investigating

if:args=irrelevance

-loop restate args

)

compile exec

Explanation:

7 0
3 years ago
It is well-known that monoalphabetic substitution cipher (also known as monoalphabetic cipher) is not secure, because it can be
olasank [31]

Answer:

a. True

Explanation:

Encryption is a form of cryptography and typically involves the process of converting or encoding informations in plaintext into a code, known as a ciphertext. Once, an information or data has been encrypted it can only be accessed and deciphered by an authorized user.

Some examples of encryption algorithms are 3DES, AES, RC4, RC5, and RSA.

It is well-known that monoalphabetic substitution cipher (also known as monoalphabetic cipher) is not secure, because it can be subjected to frequency analysis.

The Playfair Cipher is generally considered to be the best multiple letter encryption cipher because it processes digrams in the plaintext as singular units and translates them directly into ciphertext digrams.

In the Playfair Cipher, a 5 × 5 matrix comprising of letters is developed using a keyword and then, the matrix is used to encrypt the plaintext as a pair i.e two letters at a time rather than as a single text.

5 0
3 years ago
Other questions:
  • Which expense is a bank least likely to extend a line of credit for?
    13·2 answers
  • Blank includes websites that encourage interaction and connection among people ,business and organizations
    13·1 answer
  • Remy’s manager has asked him to change the background color scheme from reds to blues in the standard template the company uses
    15·2 answers
  • str1=”Good” str2=”Evening” Does the concatenation of the above two strings give back a new string or does it concatenate on the
    14·1 answer
  • Harmful programs used to disrupt computer operation, gather sensitive information, or gain unauthorized access to computer syste
    7·1 answer
  • Brody is concerned that he is going to exceed the quota set for his mailbox. Where should he go to access the Mailbe
    10·1 answer
  • What is the key to satisfaction and success when choosing a career
    15·2 answers
  • Pls help will mark brainliest as soon as u awnser
    15·1 answer
  • PLS ANSWER ASAP!!!! <br><br> In three to five sentences, explain the function of utilities.
    13·1 answer
  • Which of the examples is part client side code
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!