Computer Science, asked by akriti1444, 6 months ago

Write a program in java to print
the Pollowing pattern
A
BCB
CDEDC
DEFGFED
EFGHIHGEF​

Answers

Answered by pari2008chitra6153
0

Answer:

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);

Explanation:

mark me as brainliest

Similar questions