Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

how can we implement locks in plsql?

2358


What are the tasks performed by a Team Lead

2894


What is diffrent between Method and and function in c#

2059


1. Write a program to create a sentence at runtime and count number of vowels in it ? 2. Write a program to get a string and to convert the 1st letter of it to uppercase ?

3735


What's the difference b/w Table & Templete in Smartform?

2307


why not instantiating servet using new operator?

2010


Given an array all of whose elements are positive numbers, find the maximum sum of a subsequence with the constraint that no 2 numbers in the sequence should be adjacent in the array. So 3 2 7 10 should return 13 (sum of 3 and 10) or 3 2 5 10 7 should return 15 (sum of 3, 5 and 7)

1239


what are the differences between CONS, LIST, and APPEND

5406


What is %Type,%Rowtype?

2323


Hey this is venkatesh.Please can any body tell me what is SFLNXTCHG?where we use this keyword?what perpuse we use this?Can you tell me in real time senario with example? And in 7 specification(RPG/400)what is the mandatory specification using programs?

2170


in a VB application, where the data will be stored after manipulation? what is the syntax for that?

2324


how pseudo column works?

2260


how sap is different from other software ?

2234


what is web service in java? have u use before.

2206


when we use mantis? how learn mantis?

2234