Join Patrick Royal for an in-depth discussion in this video My solution: Putting it all together, part of Code Clinic: Java.
…In the previous videos, we've written the code to get the data, convert it…to a Java array, get user input, and apply mathematical operations to that data.…In this video, we're going to combine all of the previous…steps together and look at how it creates a functional program.…The main method performs three functions.…First, it asks the user to specify the year, month and day for the data.…Next, it gets the data for the wind gusts, air…temperature and barometric pressure based on the user's specified date.…
This references the getData function that we've looked at in a previous video.…The new step we're looking at now is creating the output.…As with the input, there are a wide…variety of potential output types that you could use.…For instance, you might display the data in a graph, or…in a text box, or in any number of file formats.…For this challenge, we'll display the output in…the console so you can use standard print statements.…Printing the output is pretty simple since…we already have the mean and median methods.…
Patrick introduces challenges and provide an overview of his solutions in Java. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Visit other courses in the series to see how to solve the exact same challenges in languages like C#, C++, PHP, Python, and Ruby.
Skill Level Intermediate
Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided here for lynda.com members outside of the U.S
Problem One: Exploring Lake Pend Oreille
Problem Two: Image Analysis
Problem Three: Eight Queens
Problem Four: Accessing Peripherals
Problem Five: Recursion and Directories
Problem Six: Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.