Java Program to Print Plus Star Pattern

Java Program to Print Plus Star Pattern 1

Write a Java Program to print plus star pattern using for loop. This Java plus star example use if else nested inside a for loop to iterate the rows. package ShapePrograms; import java.util.Scanner; public class PlusPattern1 { private static Scanner sc; public static void main(String[] args) { sc = new Scanner(System.in); System.out.print(“Please Enter Plus Pattern … Read more

Java Program to Print Left Arrow Star Pattern

Java Program to Print Left Arrow Star Pattern 1

Write a Java Program to print left arrow star pattern using for loop. In this Java left arrow example, the first nested for loop set prints the left arrow top part, and the other code prints the left arrow bottom. package ShapePrograms; import java.util.Scanner; public class LeftArrow1 { private static Scanner sc; public static void … Read more