Combine the four loop problems into one program with four distinct methods. For this problem you will write methods, two value returning methods and two void methods. You may chose of the 4 distinct loop problems. The methods must include:
one value-returning method with a parameter
one value-returning method without a parameter
one void method with a parameter
one void method without a parameter
Program must compile and run.