Question: hello, this is for Programming 2 with the java language. This is a lab assignment with two parts. The 1st part I did the methods
CSC 205 Lab 2 : Array Stats Program & OOP Review Due by Monday, September 10, 2:00 PM Goals After completing this lab, you should be able to: Work with loops and arrays in Java Use and call multiple class methods and understand the value of structured programming Make use of instance methods and understand how both instance methods and class methods can be used within the same class. . Be able to differentiate between instance variables and class variables Write constructors, getters, and setters. Lab Setup Change into your Labs directory, and let's create and change into a Lab2 directory Now, let's copy over a source file I've already started for you (Stats.java) to use for your program along with a sample executable file. cp /pub/digh/CSC205/Lab2/* The Array Stats Program Two of the measures taken on a group of data are the range of data and the mean of data. The range of a group of data is defined to be the difference of the largest element and the smallest element. The mean is defined to be the average of the group of data. Complete the program Stats so that it will successfully compute the range and mean of a data set that is input by a user. Input and Output The input to your program will be n positive integers one per line from the keyboard, where 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
