1 program that includes two user-defined methods to


1. Program that includes two user-defined methods to calculate the mean (average) and standard deviation of 5 integers.

a. The first method has five formal parameters representing x1, x2, x3, x4 and x5. It calculates the mean and returns the result.

b. The second method has five formal parameters representing x1, x2, x3, x4 and x5. It calls the first method to get the mean and then calculates the standard deviation, and finally returns the result.

c. In main method, the program asks the user to input x1, x2, x3, x4, and x5, then calls these two methods to get the results and output them.

d. Do not use global variables for this program!!!

Solution Preview :

Prepared by a verified Expert
Business Management: 1 program that includes two user-defined methods to
Reference No:- TGS02737045

Now Priced at $10 (50% Discount)

Recommended (93%)

Rated (4.5/5)