Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package ProgrammingBasics2;
- import java.util.Scanner;
- public class toto6ot49 {
- public static void main(String[] args) {
- Scanner scanner = new Scanner(System.in);
- for (int a = 1; a <= 49; a++) {
- for (int b = 2; b <= 49; b++) {
- for (int c = 3; c <= 49; c++) {
- for (int d = 4; d <= 49; d++) {
- for (int e = 5; e <= 49; e++) {
- for (int f = 6; f <= 49; f++) {
- System.out.printf("%d:%d:%d:%d:%d:%d%n:", a, b, c, d, e, f);
- }
- }
- }
- }
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment