Advertisement
Guest User

Untitled

a guest
Jul 20th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.22 KB | None | 0 0
  1. public class DooBee{
  2.  public static void main (Sting[] args){
  3.   int x=1;
  4.   while(x<3){
  5.    System.out.println("Doo");
  6.    System.out.println("Bee");
  7.    x=x+1;
  8.   }
  9.   if(x==3){
  10.     System.out.println("Do");
  11.   }
  12.  }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement