Java Program to Print V Star Pattern
Write a Java program to print V star pattern using for loop. package Shapes3; import java.util.Scanner; public class VStarPattern1 { private static Scanner sc; public static void main(String[] args) { sc = new Scanner(System.in); System.out.print(“Enter V Shape Star Pattern Rows = “); int rows = sc.nextInt(); System.out.println(“Printing V Shape Star Pattern”); for (int i = … Read more