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...


use jave and while loops


When you make taffy (a pliable candy), you must heat the candy mixture to<br>270 degrees Fahrenheit.<br>Write a program that will help a cook make taffy. The cook should be able<br>to enter the temperature reading from his/her thermometer into the<br>program. The program should continue to let the cook enter temperatures<br>until the temperature is at least 270 degrees.<br>When the mixture reaches or exceeds 270 degrees, the program should<br>stop asking for the temperature and print<br>Your taffy is ready for the next step!.<br>Here is a sample run of what it should look like:<br>Starting Taffy Timer...<br>Enter the temperature: 40<br>The mixture isn't ready yet.<br>Enter the temperature: 100<br>The mixture isn't ready yet.<br>Enter the temperature: 200<br>The mixture isn't ready yet.<br>Enter the temperature: 300<br>Your taffy is ready for the next step!<br>Make sure that your output matches this sample run!<br>

Extracted text: 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 his/her 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!. Here is a sample run of what it should look like: Starting Taffy Timer... Enter the temperature: 40 The mixture isn't ready yet. Enter the temperature: 100 The mixture isn't ready yet. Enter the temperature: 200 The mixture isn't ready yet. Enter the temperature: 300 Your taffy is ready for the next step! Make sure that your output matches this sample run!
2.10.4: Making Taffy<br>public class Taffy extends ConsoleProgram<br>public void run()<br>{<br>System.out.println(

Extracted text: 2.10.4: Making Taffy public class Taffy extends ConsoleProgram public void run() { System.out.println("Starting Taffy Timer..."); // Enter code here }

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here