WAP in java to print the following pattern
Attachments:
Answers
Answered by
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