You will Also need Eclipse Workspace Chapter 3 Project Project Name: Chpt3_Project Class Name: Chpt3_Project

You will Also need Eclipse Workspace

Chapter 3 Project

Project Name: Chpt3_Project

Class Name: Chpt3_Project

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

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

Enter the temperature in Celsius that beans cook at:

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.

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

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

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

Step 3. 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 assignment you will need to 
submit two files to for grading:

1.

1. 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. (10 points)

2. 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”. (10 points)

image1.png

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Thumbnails/thumbnail.png Purpose of Assignment: To demonstrate an understanding of recognizing a client in crisis as well as providing education

Thumbnails/thumbnail.png Purpose of Assignment: To demonstrate an understanding of recognizing a client in crisis as well as providing education of crisis intervention techniques, including effective coping mechanisms, for a client in crisis. Instructions: This assignment will require the development of an educational pamphlet. Word or Publisher may be used to

HEALTH INFORMATION TECHNOLOGY AND NURSING INFORMATICS: INTRODUCTION Read a selection of your colleagues’ responses and respond to your colleagues. continue

HEALTH INFORMATION TECHNOLOGY AND NURSING INFORMATICS: INTRODUCTION Read a selection of your colleagues’ responses and respond to your colleagues. continue the discussion by commenting on how your classmates experience could enhance your own practice. PEER #1 · Debbie Davis   Nursing Informatics is an area that brings together technology and healthcare, allowing for the integration