Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Program {
- public static void main(String[] args) {
- /*
- * Mattie Richardson
- * 4th Period
- * Computer Science
- * Hour 2
- * Play Button
- */
- for(int i = 1 ; i <= 1; i++ ) {
- for(int s = 0; s < i; s++) {
- }
- System.out.print("*");
- }
- for(int i = 5 ; i >= 1; i-- ) {
- for(int s = 0; s < i; s++) {
- System.out.print("*");
- }
- System.out.println();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement