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