witchway915

Untitled

Aug 27th, 2014
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. debug:
  2. Enter number for the Radius. 6
  3. Exception in thread "main" java.util.IllegalFormatConversionException: f != java.lang.Integer
  4. at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4302)
  5. at java.util.Formatter$FormatSpecifier.printFloat(Formatter.java:2806)
  6. at java.util.Formatter$FormatSpecifier.print(Formatter.java:2753)
  7. at java.util.Formatter.format(Formatter.java:2520)
  8. at java.io.PrintStream.format(PrintStream.java:970)
  9. at java.io.PrintStream.printf(PrintStream.java:871)
  10. at SCarroll_Assign3_28.main(SCarroll_Assign3_28.java:15)
  11. Diameter of the circle is Java Result: 1
  12. BUILD SUCCESSFUL (total time: 2 seconds)
Advertisement
Add Comment
Please, Sign In to add comment