need help with this java CSC 142: Computer Programming I home > 7.8: Reasons for methods (EO)zyBooks catalog? Help/FCHALLENGE7.8.2: Method stubs: Statistics.ACTIVITYDefine stubs for the methods...


need help with this java




ary > CSC 142: Computer Programming I home > 7.8: Reasons for methods (EO)<br>zyBooks catalog<br>? Help/F<br>CHALLENGE<br>7.8.2: Method stubs: Statistics.<br>ACTIVITY<br>Define stubs for the methods called by the below main(). Each stub should print

Extracted text: ary > CSC 142: Computer Programming I home > 7.8: Reasons for methods (EO) zyBooks catalog ? Help/F CHALLENGE 7.8.2: Method stubs: Statistics. ACTIVITY Define stubs for the methods called by the below main(). Each stub should print "FIXME: Finish methodName()" followed by a newline, and should return -1. Example output: FIXME: Finish getUserNum() FIXME: Finish getUserNum() FIXME: Finish computeAverage() Avg: -1 351188.2286286.qx3zgy7 1 import java.util.Scanner; 2 1 test 3 public class Methodstubs{ passed 4 * Your solution goes here */ All tests public static void main(String [] args) { int userNum1; int userNum2; int avgResult; Methodstubs stubTester = new MethodStubs (); 7 passed 8. 9 10 11 12 userNum1 = stubTester.getUserNum(); userNum2 = stubTester.getUserNum(); avgResult = stubTester.computeAverage(userNum1, userNum2); 13 14 15 16 + avgResult); System.out.println("Avg: } 17 18 101 Run

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here