I hav this code here that prompt me for only 1 randomNum.I know i need a second loop.how can i go about doing it
public static void main(String[] args) {
int ii=0;
int value;
int randomNum;
System.out.println("How many integers shall we compare? (Enter a positive integer):");
ii = input.nextInt();
randomNum =input.nextInt();
for (value = 1;value<=ii; value++)
if(ii !=0 && ii > 0){
System.out.println("Enter value " + value + ":"+ randomNum );
}
else
{
System.out.println("Invalid input!");
}
}
}