SHARE
TWEET

RaynorI_PlayButton

a guest Apr 18th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Isaac Raynor
  2. //Regan
  3. //1st
  4. //Play Button
  5. import java.util.Scanner;
  6.    
  7. public class Program {
  8.     public static void main(String[] args) {
  9.        
  10.         for(int i = 1; i <= 5; i++) {
  11.             for(int s = 0; s < i; s++) {
  12.                 System.out.print("*");
  13.             }
  14.             System.out.println();
  15.         }
  16.        
  17.         for(int i = 5; i >= 1; i--) {
  18.             for(int s = 0; s < i; s++) {
  19.                 System.out.print("*");
  20.                
  21.             }
  22.             System.out.println();
  23.         }
  24.     }
  25. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top