I have edited my code and dont understand why it doesnt work.
import java.util.*;
public class Shuffle
{
public static int[] RandomizeArray(int[] array){
Random rgen = new Random();
Type: Posts; User: Ludus
I have edited my code and dont understand why it doesnt work.
import java.util.*;
public class Shuffle
{
public static int[] RandomizeArray(int[] array){
Random rgen = new Random();
I have it to where it will compile now. I am just confused as to the syntax in being able to implement my RandomizeArray and the users input in the main. I know this is a simple task but Im new and...
I am trying to do a shuffle program where I randomize a group of numbers and print them out so none repeat. I have the randomization right just not sure how to implement a users input with an array....