Question: Can someone help me with this java problem WITHOUT a user input? just call the method in main? 4. A simple random generator is obtained
Can someone help me with this java problem WITHOUT a user input? just call the method in main?
4. A simple random generator is obtained by the formula old New "random" numbers are then generated by setting rold to rnew and repeating the process. Write a method that takes in values for rold, a, b and m. Your method should return an array of integers that contain the first 25 random" values generated by this formula The method header for this problem is: public static int[] random (int r, int a, int b, int m)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
