how to write the fallowing code in java?
1
4 9
16 25 36
49 64 81 100

Answer Posted / heena

each number multiply by same like below:
1 = 1*1
4 = 2*2
9 = 3*3
16 = 4*4
create series using loop

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is easiest way to get the PL/i compiler,I didn't have found the compiler in my library. Is there any extra cost if we want to access the PL/1 programs?Actually we r having Mainframe rented training Ids

1618


How to print No.of.rows affected after updation using ADO.Net

2479


< No Frames > tag is used for

2112


What is the merger sort principle and its time complexity.

640


i am exeprienced person what is selection process

1131






Given an array of size n. It contains numbers in the range 1 to n. Find the numbers which aren?t present.

625


EXPLAIN UNARY OPEARATORS

1803


how do you generate source code for the automatic generation for receipt number

3828


in cobol,wat is the difference in using 'set index in occurs clause' ....and 'occurs depending-on clause'

1774


how can we implement locks in plsql?

1792


I am taking the bmc control m/enterprise manager 7.0 scheduling test and just wanted to see what kind of questions they would ask or if anyone has taken the test and how long it is for how many questions?

5667


What is the meaning of client-server application. The purpose of Client-Server Application. with description.

1653


I want to pass .pdf files as OlE Object to crystal report through VB6. Please any one guid me...

2597


could u please also write an example of a code that involves instances from an abstract class just as u did for interfaces because u said it could also work which i really doubt. thanks

1626


qtp 9.2 14 days demo version was expired.I uninstalled how to reinstall this again

2355