1.

Write a java pattern program to print:​

Answer»

4. Diamond Shape Pattern
import java.util.Scanner;
public CLASS DiamondPattern.
{
public static void main(String ARGS[])
{
int row, i, J, space = 1;
System.out.print("ENTER the number of rows you want to print: ");
Scanner sc = new Scanner(System.in);



Discussion

No Comment Found