bonjour,
cette procédure a pour but de tirer 10 nombres tous différents
mais j'ai une erreur ligne 17 canot find symbol

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
public class Revison {
    public static  void charger(int []t)
    {
    boolean trouve=false;
    for (int j=1;j<10;j++){
    }
    while (trouve=false)
    {
    int hazard=(int) (Math.random()*(20-1)+1);
     for (int i=0;i<10;i++)	
     {
     	if (hazard==t[i]){trouve=true;
     	}
     	else {trouve=false;}
     }
    }
   if (trouve==false){t[i]=hazard;
   }
    }
merci