WeirdNumbers

From ggc

Jump to: navigation, search

01 /**
02  * All about my application here.
03  @author Jam Jenkins
04  */
05 public class WeirdNumbers
06 {
07   public static void main(String[] args)
08   {
09     int i=1;
10     int times=0;
11     while(i>0)
12     {
13       i=i*2;
14       times++;
15       Wiki.out.println("Executed "+times+" times.");
16     }
17   }
18 }


Download/View WeirdNumbers.java





Views
Personal tools
Add to 
del.icio.usAdd to 
diggAdd to 
FacebookAdd to 
favoritesAdd to 
GoogleAdd to 
MySpaceAdd to 
PrintAdd to 
SlashdotAdd to 
StumbleUponAdd to 
Twitter