Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need help creating a pseudo-random number generator in Java usingthe method he

ID: 3612726 • Letter: I

Question

I need help creating a pseudo-random number generator in Java usingthe method header
public static int myRandom(int i, int b)

The pseudo-random number generator must satisfy the property thatevery number from 1 to b-1 must be generated exactly once as iranges from 1 to b-1. The method itself returns the i-thrandom number for a table with b buckets. Remember thatgiven a fixed i and b the method shouldalways return the same number.

Explanation / Answer

please rate - thanks import java.util.*; import java.io.*; public class pseudorand {public static void main(String []args) {int i,b,num; Scanner in=new Scanner(System.in); System.out.println("How many buckets
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote