subject

When you make taffy (a pliable candy), you must heat the candy mixture to 270 degrees fahrenheit.

write a program that will 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
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!

how i do dis in java

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 18:00
File account.java (see previous exercise) contains a definition for a simple bank account class with methods to withdraw, deposit, get the balance and account number, and return a string representation. note that the constructor for this class creates a random account number. save this class to your directory and study it to see how it works. then write the following additional code: 1. suppose the bank wants to keep track of how many accounts exist. a. declare a private static integer variable numaccounts to hold this value. like all instance and static variables, it will be initialized (to 0, since it’s an int) automatically. b. add code to the constructor to increment this variable every time an account is created. c. add a static method getnumaccounts that returns the total number of accounts. think about why this method should be static - its information is not related to any particular account. d. file testaccounts1.java contains a simple program that creates the specified number of bank accounts then uses the getnumaccounts method to find how many accounts were created. save it to your directory, then use it to test your modified account class.
Answers: 3
question
Computers and Technology, 23.06.2019 18:00
What can a word user do with the customize ribbon dialog box? check all that apply. minimize the ribbon add a new tab to the ribbon remove a group from a tab add a group to a tab choose which styles appear choose which fonts appear choose tools to appear in a group
Answers: 1
question
Computers and Technology, 23.06.2019 19:00
Whose task it is to ensure that the product flows logically from one step to another?
Answers: 3
question
Computers and Technology, 23.06.2019 20:30
What is the biggest difference between section breaks and regular page breaks
Answers: 1
You know the right answer?
When you make taffy (a pliable candy), you must heat the candy mixture to 270 degrees fahrenheit.
Questions
question
History, 10.12.2020 19:30
question
Geography, 10.12.2020 19:30
question
English, 10.12.2020 19:30
question
Mathematics, 10.12.2020 19:30
question
Mathematics, 10.12.2020 19:30
question
Arts, 10.12.2020 19:30
Questions on the website: 13722361