Advertisement
Guest User

Untitled

a guest
Jan 26th, 2015
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.26 KB | None | 0 0
  1. class Main
  2. {
  3.     public static void main(String[] args)
  4.     {
  5.         int number = 2;
  6.  
  7.         if (number >= 1) {
  8.             System.out.println("Hi!");
  9.         }
  10.  
  11.         if (number >= 2) {
  12.             System.out.println("Hi!");
  13.         }
  14.  
  15.         if (number >= 3) {
  16.             System.out.println("Hi!");
  17.         }
  18.     }
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement