All pastes #336246 Raw Edit

Something

public java v1 · immutable
·published 2007-02-01 22:19 UTC
rendered paste body
public class ExempleTypesPrimitifs {public static void main (String[] argv) {int compteur = 0;while(compteur != 100) {// Prend un nombre aléatoiredouble nbreAleatoir = Math.random() * 1000;// Etablie un index de 0 à 10int index = compteur % 10;// Construction de l’affichageSystem.out.println("Index:" + index +"Nbre Aléatoir:" + (int)nbreAleatoir);// Incrémentation de la bouclecompteur+= 1;}}}