Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Isaac Raynor
- //Regan
- //1st
- //Play Button
- import java.util.Scanner;
- public class Program {
- public static void main(String[] args) {
- for(int i = 1; i <= 5; i++) {
- for(int s = 0; s < i; s++) {
- System.out.print("*");
- }
- System.out.println();
- }
- 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