Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main{
- public static void main (String[] args){
- int nbcoup = 0
- int seriemax = 0;
- Scanner sc = new Scanner(System.int);
- System.out.println("Combien de coups voulez-vous ?");
- nbcoup = sc.nextInt();
- do{
- if(a = 1){
- System.out.println(";1");
- nbcoup = nbcoup-1;
- }
- if(a = 0){
- System.out.println(";0");
- nbcoup = nbcoup-1;
- }
- ]while(nbcoup > 0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement