Computer Science, asked by ApratimDutta, 1 month ago

WAP in java to print the following pattern

Attachments:

Answers

Answered by lk4507099
4

Answer:

import java.util.Scanner;

public class SandglassPattern.

{

public static void main(String[] args)

{

int i, j, k, n;

Scanner sc = new Scanner(System.in);

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

Explanation:

thanks follow and mark me as branlist

Similar questions