Thursday 6 March 2014

Sorted and Printed!

The integers that I put into input.txt is sorted now!
The sorted list is printed into output.txt.
Strings will also do the same.

I found out that it still says isDouble=true when it's an integer, meaning that isDouble should be =false.
I'm also getting java.lang.ArrayOutOfBoundsException whenever I try to sort doubles, This problem might be because of the previous one (about doubles being set as true when they aren't, and are still true when they are doubles, so doubles is the problem though I don't see the problem yet and this assignment is already way over due...

No comments:

Post a Comment