Ask your own question, for FREE!
Computer Science 20 Online
OpenStudy (anonymous):

I want to write, the result of the following series 1^1, 2^2, 3^3, 4^4,.......1000^1000 in java what should I do?

OpenStudy (anonymous):

Do you mean the sum of that series? In any case I'd realize this with a for-loop, but you should look out for the size of your integers. 1000^1000 has 3001 digits, you need something to store it in.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!