This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Result of FF decompiling crashing code

By: acomputerdog on Apr 7th, 2013  |  syntax: Java  |  size: 1.06 KB  |  views: 46  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. import java.util.Scanner;
  2.  
  3. public class NumberTest2 {
  4.  
  5.    public static void main(String[] var0) {
  6.       System.out.println("Please enter values:");
  7.       Scanner var1 = new Scanner(System.in);
  8.       double var4 = Double.NEGATIVE_INFINITY;
  9.       double var6 = Double.POSITIVE_INFINITY;
  10.  
  11.       do {
  12.          double var2;
  13.          while((var2 = var1.nextDouble()) != 0.0D) {
  14.             if(var2 > var4) {
  15.                var4 = var2;
  16.                if(var2 != var2) {
  17.                   continue;
  18.                }
  19.             }
  20.  
  21.             if(var2 < var6) {
  22.                var6 = var2;
  23.                if(var2 != var2) {
  24.                   ;
  25.                }
  26.             }
  27.          }
  28.  
  29.          if(var4 != Double.NEGATIVE_INFINITY) {
  30.             break;
  31.          }
  32.  
  33.          var4 = 0.0D;
  34.          if(0.0D != 0.0D) {
  35.             break;
  36.          }
  37.  
  38.          var6 = 0.0D;
  39.       } while(0.0D != 0.0D);
  40.  
  41.       var1.close();
  42.       System.out.println("The smallest value was " + var6);
  43.       System.out.println("The largest value was " + var4);
  44.    }
  45. }
clone this paste RAW Paste Data