Advertisement
MladenKarachanov

toto6ot49

May 12th, 2024
608
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.71 KB | None | 0 0
  1. package ProgrammingBasics2;
  2.  
  3. import java.util.Scanner;
  4.  
  5. public class toto6ot49 {
  6.     public static void main(String[] args) {
  7.         Scanner scanner = new Scanner(System.in);
  8.         for (int a = 1; a <= 49; a++) {
  9.             for (int b = 2; b <= 49; b++) {
  10.                 for (int c = 3; c <= 49; c++) {
  11.                     for (int d = 4; d <= 49; d++) {
  12.                         for (int e = 5; e <= 49; e++) {
  13.                             for (int f = 6; f <= 49; f++) {
  14.  
  15.                                 System.out.printf("%d:%d:%d:%d:%d:%d%n:", a, b, c, d, e, f);
  16.                             }
  17.                         }
  18.                     }
  19.                 }
  20.             }
  21.         }
  22.     }
  23. }
  24.  
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement