Advertisement
Goy288

Stewie2.java(no for loop)

Jan 7th, 2019 (edited)
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.66 KB | None | 0 0
  1. public class Stewie2 {
  2.    public static void main(String[] args) {
  3.       rowForward();
  4.       rowVictoryPlusBackward();
  5.       rowVictoryPlusBackward();
  6.       rowVictoryPlusBackward();
  7.       rowVictoryPlusBackward();
  8.       rowVictoryPlusBackward();
  9.    }
  10.    public static void rowForward() {
  11.       System.out.println("//////////////////////");
  12.    }
  13.    public static void rowVictory() {
  14.       System.out.println("|| Victory is mine! ||");
  15.    }
  16.    public static void rowBackward() {
  17.       System.out.println("\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\");
  18.    }
  19.    public static void rowVictoryPlusBackward() {
  20.       rowVictory();
  21.       rowBackward();
  22.    }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement