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



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

Answer / 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

More Programming Languages AllOther Interview Questions

What are data structures?

1 Answers  


what is difference between restoring and non restoring division?

2 Answers   Texas,


What is the use of sas software? Is sas and sap are different?

0 Answers  


How to use string functions in QTP?give some examples

1 Answers  


How does the type system works when there is interoperability between a COM and .Net, i mean what exactly happens there

0 Answers   247Customer,


Full from of MP3?

2 Answers  


One boy has to climb steps. He can climb 1 or 2 steps at a time. Write a function that will returns number of way a boy can climb the steps. Int WaytoSteps(int n) (eg:- suppose number of steps is n=4 ,the function will return 5 (one-one-one-one ,one-one-two, one-two-one-,two-one-one, two-two)

0 Answers   Persistent,


what is difference between input parameter and output parameter.

0 Answers   NIIT,


THE CHANNEL IN DATA COMMUNICATION CAN BE?

0 Answers   TCS,


CPU - abbrevation

2 Answers   Mascot,


shall we execute our java programmes in jre

0 Answers  


Who is the Best SAS/Clinical Trainer in Hyderabad

1 Answers  


Categories