eek
1234567891011121314
import java.text.*;
class Main {
public static void main(String[] args)
{
double randD1 = (Math.round((Math.random() * 6 )));
while (randD1 <= 6)
{
System.out.println(randD1);
randD1 += randD1 = (Math.round((Math.random() * 6 )));
}
}
}
Java
INFO