[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/Scarlet-Coder/Java-Programs/master/PatternMaking [Back]  [Original]

/* For n =4 the output should be 

* 
* * 
* * * 
* * * * 
* * * 
* * 
* 

*/

import java.util.Scanner;

public class Solution {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		for (int i = 1; i 

Web Proxy Viewer  |  New URL  |  Original Page