Computer Science, asked by abc5430, 8 months ago

write a java pattern program to print:​

Attachments:

Answers

Answered by Anonymous
0
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);
Similar questions