Create an algorithm that you will use to write the program

Assignment Help Computer Engineering
Reference no: EM133641014

Homework

Write a Java program that generates a random number between 50 and 150 that represents the temperature in Celsius of a pot of boiling water on a stove, and determine if the water is hot enough to cook the following vegetable:

Beans: cook at 100 degrees Celsius

I. Inputs: The program must prompt the user for the temperature that beans cook at.

Enter the temperature in Celsius that beans cook at:

II. Output: The program should tell the user if the water is hot enough to cook the beans.

The water temperature is <temp> Celsius and is <hot or not hot> enough to cook beans.

III. Example of a program run: Run the program three times and take a screen snipit after each run.

Step I: Create an algorithm (either flowchart or pseudocode) that you will use to write the program. Place the algorithm in a Word document.

Step II: Code the program in Eclipse and test the program to verify it works correctly.Be sure to run the program three times.

Step III: Use the Snip It tool in Windows or a similar tool on the Mac to cut and paste the Eclipse Console output window into the same Word document as the algorithm in Step 1.

Note: the water temperature you show will be different than below because it is a random number.

Note: be sure to checkout the Chapter 3 videos and tutorial on how to generate random numbers in a specific range.
When you finish the homework you will need to submit two files to for grading:

I. Word document with your algorithm pseudocode, flowchart, or use case for the program, along with a screen shot of the program running on your computer.

II. The source code file you created containing the java class for the program. This file is located in the folder where you stored your program and it has the file extension name of "java".

Reference no: EM133641014

Questions Cloud

How does the testing for hiv work : How does the testing for HIV work? Christina learns that she has tested positive for the HIV antibody. What would you tell (teach) Christina about HIV?
Alcoholics anonymous or some equivalent treatment program : The employee recently got a DUI while driving a company vehicle and mandates that the employee attend Alcoholics Anonymous or some equivalent treatment program
Define left-side neglect : Define left-side neglect. How might left-side neglect affect the individual. What are some treatment options for the individual.
What do you think about hector berlioz with his symphonie : what do you think about Hector Berlioz with his Symphonie fantastique he titled "March au supplice" ("March to the Scaffold").
Create an algorithm that you will use to write the program : Create an algorithm (either flowchart or pseudocode) that you will use to write the program. Place the algorithm in a Word document.
What is learned about right hemisphere disorder : What is learned about right hemisphere disorder and practice the clinical skill of educating your students/patients/clients and their care teams.
Origins of the tale of little red riding hood as a story : origins of the tale of Little Red Riding Hood as a story that was designed to warn the ladies of the French Court about their behavior. This is an example
Difference between retail and institutional traders : You learned about the difference between retail and institutional traders.
What are the key challenges and opportunities in the texas : What are the key challenges and opportunities in the Texas educational system, and how do educational policies impact student outcomes, teacher quality

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd