I'm not quite sure how you can "jack up" the plus signs, but just "remember that " + " concatenates two strings, in general."
So, did it work for you? P: (Don't forget to mark the thread as solved...
Type: Posts; User: dpek
I'm not quite sure how you can "jack up" the plus signs, but just "remember that " + " concatenates two strings, in general."
So, did it work for you? P: (Don't forget to mark the thread as solved...
None of your "\t"s are in quotes. "\t" only works when it's part of a string. Your println statement should look like this:
System.out.println( n+"\t" + n*n+"\t" + n*n*n );