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

package Patterns;
/*
                    1  
                    2 3  
                    4 5 6  
                    7 8 9 10  

*/
import java.util.Scanner;
public class pattern8 {
    public static void main(String[] args) {

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

Web Proxy Viewer  |  New URL  |  Original Page