Question: help me to solve this by using eclipse 21) > Week 8 Class Test CR II Question 2 To answer this question you should use
help me to solve this by using eclipse

21) > Week 8 Class Test CR II Question 2 To answer this question you should use (and modify) the Java code you wrote for worksheet 7 Not complete Marked out of 2.00 P Flag question Write a method (called RandomMatrix - public static) that takes in an integer 'n' as a parameter and returns a int(0 symmetric matrix (of size 'n' by 'n') where the off diagonals are uniformly distributed random numbers (int/integers) between lower and upper inclusive and the diagonal values are set to lower (ie, elements (1.1). (2.2) etc...). (Test #1: 1 mark) If the input size ('n') is less than or equal to zero then the method should return null. If 'lower' is greater than upper', then null is also returned (Test #2: 1 mark). The following method prototype can be used as guidance for what is needed public static int(0) RandomMatrix(int n, int lowerint upper) Answer: (penalty regime 0, 0, 10, 20, ... %)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
