Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Weather App Design an algorithm that tracks the local weather patterns. Ask the user to enter the high temperature values for several days. The algorithm

Weather App
Design an algorithm that tracks the local weather patterns. Ask the user to enter the high temperature values for several days.
The algorithm should determine the number of days for the following temperature categories below:
Temperature Category
85 and above Hot Day
6084 Nice Day
4059 Moderate Day
below 40 Cold Day
The algorithm should also calculate the average temperature for the all days entered.
Display the following information after the user has entered all of their data values:
Each temperature category and the number of days for each category.
The average temperature for all the days.
The program should include a welcome message that gives a brief description of what the program does.
Hint: Do not use any array variables for this solution.
Algorithm Analysis
Use the space provided below to list the problems input data, process description, and output data. After you have filled in this information it can help you develop your algorithm. Document your algorithm in the space below. You can choose between pseudocode or a flowchart for your algorithm. You will use your completed algorithm design and translate it into your Java program code.
Input Data:
High Level Process Description:
Output Data:
Algorithm Pseudocode or Flowchart:

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions

Question

Identify conflict triggers in yourself and others

Answered: 1 week ago