Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a menu driven program that will perform the following options: in java program Load Data: request user for filename that contains Bellevue College Weather

Write a menu driven program that will perform the following options: in java program

  • Load Data: request user for filename that contains Bellevue College Weather Station Data (Links to an external site.)Links to an external site. (10 minute data format); report if the filename does not exist; report if the file is not in the 10 minute data format; with a good file, load file data.
  • Exit: quit program.

The following options will display only after a good data file has been provided.

  • Peak Wind Speed: display maximum Hi Speed of the recorded Wind data.
  • Maximum Temperature: display the value, date and time of the highest recorded temperature. If there are ties; display value, date and time info for all occurrences.
  • Humidity and Temperature: compute the average outside temperature when the outside humidity is at or higher than a humidity percentage input by the user. Request this humidity cutoff value from the user and confirm the input is between 1 to 100 percent, inclusive. Do not output results if the cutoff value input is outside this range.
  • Solar Energy: compute and display the total Solar Energy [do not use the Solar Energy column in the file; units unknown] during the duration of the data file. Solar Energy = Solar Radiation * time; the units of the equation are: Wh/m^2 = W/m^2 * h, ( NOTE: h=hour).

General Specifications - The data file will have a maximum of 288 lines of data; could have fewer. - The data file will end with a complete line of data. (do not need to check for partial data lines) Sample data file: 2019-02-10.txtimage text in transcribed - Display all numeric values rounded to nearest tenth.

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

Nested Relations And Complex Objects In Databases Lncs 361

Authors: Serge Abiteboul ,Patrick C. Fischer ,Hans-Jorg Schek

1st Edition

3540511717, 978-3540511717

More Books

Students also viewed these Databases questions

Question

How would you have defined psychology before taking this class?

Answered: 1 week ago