Skip to content

Commit

Permalink
printingstarandz.java
Browse files Browse the repository at this point in the history
  • Loading branch information
suhanigupta23 authored Dec 22, 2023
1 parent 6350c6c commit 71344ef
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions printingstar.java → printingstarandZ.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,17 @@ public static void main(String[] args)
System.out.print("*\n**\n***\n****\n*****");
}
}
//printing Z
/*
public class Program
{
public static void main(String[] args)
{
System.out.println("*****");
System.out.println(" * ");
System.out.println(" * ");
System.out.println(" * ");
System.out.println("*****");
}
}
*/

0 comments on commit 71344ef

Please sign in to comment.