Computer Science, asked by PrivateMentor, 7 months ago

Write a java program to display the following pattern using loop: # #* #*# #*#* #*#*#

Answers

Answered by krameshroyal
0

all is well with me so sub

Answered by rosoni28
2

❥\huge\red{\underline{{\bf A}}}\huge\orange{\underline{{\bf n}}}\huge\green{\underline{{\bf s}}}\huge\blue{\underline{{\bf w}}}\huge\purple{\underline{{\bf e}}}\huge\pink{\underline{{\bf r}}}

. Sandglass Star Pattern

import java.util.Scanner;

public class SandglassPattern

{

public static void main(String[] args)

{

int i, j, k, n;m

Scanner sc = new Scanner(System.in);

System.out.print("Enter the number of rows you want to print: ");

Similar questions