| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/Programing-Forks/Java-Programs/master/Patterns/pattern7.java | [Back] [Original] |
package Patterns;
/*
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
1 2 3 4 5 6
1 2 3 4 5 6 7
*/
import java.util.Scanner;
public class pattern7 {
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 |