fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
  10. public static void main (String[] args) throws java.lang.Exception
  11. {
  12. double d = 1.0d ;
  13. while ( d > 0.89d ) {
  14. d = d - 0.01 ;
  15. System.out.println( d ) ;
  16. }
  17. }
  18. }
Success #stdin #stdout 0.08s 51668KB
stdin
Standard input is empty
stdout
0.99
0.98
0.97
0.96
0.95
0.94
0.9299999999999999
0.9199999999999999
0.9099999999999999
0.8999999999999999
0.8899999999999999