[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/Programing-Forks/Java-Programs/master/Patterns/pattern6.java [Back]  [Original]

package Patterns;
/*
            1  
            2 2  
            3 3 3  
            4 4 4 4  
            5 5 5 5 5  
            6 6 6 6 6 6  
            7 7 7 7 7 7 7
*/
import java.util.Scanner;
public class pattern6 {
    public static void main(String[] args) {

        Scanner input = new Scanner(System.in);
        System.out.println("Enter the no.of stars: ");
        int n = input.nextInt();
        for(int i=1;i

Web Proxy Viewer  |  New URL  |  Original Page