Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Shuffel
- {
- public static void main (String [] args){
- int x = 3;
- while (x>0) {
- if (x > 2){
- System.out.println("a");
- }
- x = x - 1;
- System.out.println("-");
- if (x == 2){
- System.out.println("b c");
- }
- x = x - 1;
- System.out.println("-");
- if (x == 1){
- System.out.println("d");
- x = x-1;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement