This commit is contained in:
2023-04-04 14:03:16 +02:00
parent 7021891e9c
commit e32d4de827
111 changed files with 1928 additions and 6 deletions

View File

@@ -0,0 +1,3 @@
public class Aléatoire{
}

Binary file not shown.

View File

@@ -0,0 +1,12 @@
import java.lang.Math;
import java.util.Random;
public class Aléatoire{
public static void main(String[] args) {
double nb1;
nb1 = Math.random();
Random nb2 = new Random();
System.out.println("random propose : "+ nb1);
System.out.println("nextDouble propose : "+ nb2.nextDouble());
}
}