convert my code

how will you convert my code using the JDK 5.0 compliance

what i mean is use the System.out.printf thing

not this one using the old + sign

//display the square root, cube root

publicclass _2_31

{

publicstaticvoid main(String[] args)

{

System.out.print("Number\tSquare\tCube\n");

for (int i=0; i <= 10; i++)

{

System.out.println(" " + i +"\t" + Math.pow(i,2) +"\t" + Math.pow(i,3));

}

}

}

[1004 byte] By [nemo666a] at [2007-11-27 11:52:54]
# 1

> how will you convert my code using the JDK 5.0

> compliance

No, the operative phrase shoud be: "how will *I* convert my code..."

> what i mean is use the System.out.printf thing

> not this one using the old + sign

>

I'd (you'd) read the API on printf

Please be careful. With these posts (http://forum.java.sun.com/thread.jspa?threadID=5199144&messageID=9790042#9790042) you're going to get a rep for laziness.

Message was edited by:

petes1234

petes1234a at 2007-7-29 18:47:16 > top of Java-index,Java Essentials,New To Java...
# 2

> you're going to get a rep for laziness.

Too late!

Nemo, see if you can get this through your fargin thick skull. We are not here to do your work for you. So kindly fuck off!

floundera at 2007-7-29 18:47:16 > top of Java-index,Java Essentials,New To Java...
# 3

don't be like that.. i will post a difficult problem for a noob like me next time ok

nemo666a at 2007-7-29 18:47:16 > top of Java-index,Java Essentials,New To Java...
# 4

> So kindly **** off!

I just joined this forum to get started in my Java development career. I have to say, this sure doesn't look promising. Looks like it's against the code of conduct, too.

Corbin.Da at 2007-7-29 18:47:16 > top of Java-index,Java Essentials,New To Java...
# 5

> don't be like that.. i will post a difficult problem

> for a noob like me next time ok

no, it's not the difficulty of the problem that is causing animosity, it is your lack of initiative and effort.We are here to help you help yourself, but we are most definitely not here to do your work for you. Show that YOU are doing some work, that you are not asking for everyone to do work for you.

Just my 2 shekel's worth of advice.

petes1234a at 2007-7-29 18:47:16 > top of Java-index,Java Essentials,New To Java...
# 6

> I just joined this forum to get started in my Java

> development career. I have to say, this sure doesn't

> look promising. Looks like it's against the code of

> conduct, too.

actually the regulars are really nice guys and it doesnt hurt that they

really know their sh|t too. i absolutely love this forum.

but yea we do say 'f uck' a lot. we use 'f uck' like little kids giggle.

ive been here 4 years and its -gladly- never been enforced.

the laissez faire attitude is one of the best things here.

except for when 15 year olds join and run amok.

so weigh the pros and cons - have a great time learning with great

people -or- get to go 10 minutes without seeing the word 'f uck'.

its really up to you, lol. : )

TuringPesta at 2007-7-29 18:47:16 > top of Java-index,Java Essentials,New To Java...
# 7

i knew what i was saying sounded familiar, lol.

http://www.wimp.com/angryboss/

http://snltranscripts.jt.org/00/00roffice.phtml

Mr. Tarkanian: You know what? Just work here, okay? Take some time to weigh the pros and cons. Pros: you'll be working for a slightly-above in-flight magazine, for $22,400 a year; cons: me, kicking you 'til there's blood in your stool, then grabbing your wife's boobies while you're tied up with a racquetball shoved in your mouth. Now, balance it out, and think about it..

i just cant get enough of watching Will Ferrell kill a man with a trident, lol.

TuringPesta at 2007-7-29 18:47:16 > top of Java-index,Java Essentials,New To Java...
# 8

Corbin

I am more than helpful to those that deserve it. If you post code that you have written (within code tags), include error messages, and ask specific questions, then you will get plenty of help from me and many others.

However, if you piss regulars off by using netspeak/sms wording, marking your post as URGENT, excessive use of !!!!! or ? and the most popular "here's my code, fix it for me" then you will only get the scorn and ridicule you deserve.

floundera at 2007-7-29 18:47:16 > top of Java-index,Java Essentials,New To Java...
# 9

hahahaha. omfg, im out of breath. he stabs that guy like 50 times, lol.

will ferrell was the best.

Mr. Tarkanian: [ excited ] OHHHHHH!!! SCOTT JURGENSON!! I LOVE it!! I am ACTUALLY gonna MURDER YOU!!

TuringPesta at 2007-7-29 18:47:16 > top of Java-index,Java Essentials,New To Java...
# 10

> However, if you piss regulars off by using

> netspeak/sms wording, marking your post as URGENT,

> excessive use of !!!!! or ? and the most popular

> "here's my code, fix it for me" then you will only

> get the scorn and ridicule you deserve.

Thanks. I'm a grown up and don't care for those irritations either. I admin and post on several other forums, so I don't do those infantile things you brought up. I just want to learn and eventually help out.

Thanks.

Corbin.Da at 2007-7-29 18:47:16 > top of Java-index,Java Essentials,New To Java...
# 11

no, im going to have to insist that everyone watch that video.

it is a friday after all.

if i ever die, id hope it would be like that... like a hero...

taking on will ferrell with a trident... like neptune.

http://www.wimp.com/angryboss/

TuringPesta at 2007-7-29 18:47:16 > top of Java-index,Java Essentials,New To Java...