package com.java.patterns; import java.util.Scanner; /* Write a Java Program to print the following Pattern 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4 4 4 4 5 5 5 5 5 */ public class Pattern11 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println("Enter the number of rows to print the pattern :: "); int N = Integer.parseInt(scanner.nextLine().trim()); for(int i=0;i