write a java program that will sort three integers the integers are entered from key board and stored in variables num1,num2,num3 respectively.the program sorts the numbers so that num1<=num2<=num3.
this is my 2nd program please help me i it.

import java.util.Random;
class Prime
{
public static void main (String[] args)
{
int[] arrays = new int[100];
for (int i=0; i<100; i++)
{
Random generator = new Random();
arrays[i] = generator.nextInt(100);
}
for (int j=0; j<100; j++)
{
double root = Math.sqrt(arrays[j]);
for ( int i = 2; i < = root; i++)
{
if (arrays[j] % i == 0 )
}
System.out.print(arrays[j] + " ");
}
}

you may have to put this in a function to work sorrie...

public static boolean isPrime (array[j])
double root = Math.sqrt(arrays[j]);
for ( int i = 2; i < = root; i++)
{
if (arrays[j] % i == 0 )
return false;
}
return true;

I'm trying to compare 2 different CSV files, mark those differences respectively, then produce it as an output. However, my code seems to be only reading the last part of ...

I am becoming confused with visual studio v. Vb.net. I am findings hundreds of pieces of code tells me how to connect. Snippets elsewhere that tell me how to access ...