Guest User

Error log

a guest
Sep 8th, 2014
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. Thanks for using Andrew's Aerospace Calculator Version 2.0
  2. For the following inputs, either give a number or put 'unknown'
  3. Also, please round decimals to the nearest hundredth or add zeros so that you have hundredths.
  4. What is the height in meters?
  5. "1000.00"
  6. What is the temperature in degrees celsius?
  7. "unknown"
  8. What is the pressure in kPa?
  9. "unknown"
  10. What is the density in kg/m^3?
  11. "unknown"
  12. What would you like to find? (Enter a number)
  13. 1) Temperature
  14. 2) Pressure
  15. 3) Density
  16. "1"
  17. Calculating Temperature...
  18. Exception in thread "main" java.lang.NumberFormatException: For input string: "unknown"
  19. at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
  20. at java.lang.Double.parseDouble(Unknown Source)
  21. at calculator.AerospaceCalculator.findTemp(AerospaceCalculator.java:73)
  22. at calculator.AerospaceCalculator.main(AerospaceCalculator.java:44)
Advertisement
Add Comment
Please, Sign In to add comment