find the sum of all the numbers 1 to 1000

Answers were Sorted based on User's Feedback



find the sum of all the numbers 1 to 1000..

Answer / rahul

int s=0;
for(int i=1;i<=1000;i++)
{
s=s+i;
}
System.out.println(s);

Is This Answer Correct ?    2 Yes 6 No

find the sum of all the numbers 1 to 1000..

Answer / lala

alll u rock. u just helped me with my math hw

Is This Answer Correct ?    8 Yes 13 No

find the sum of all the numbers 1 to 1000..

Answer / guest

4587455

Is This Answer Correct ?    10 Yes 44 No

find the sum of all the numbers 1 to 1000..

Answer / guna

4587455

Is This Answer Correct ?    10 Yes 51 No

Post New Answer

More Accounting AllOther Interview Questions

What is audit,auditing?

4 Answers   Wipro,


Do assets have to be analysed between funds?

1 Answers  


WHAT IS CONTINGENTI ASSESTS AND LIABILITIES?

4 Answers   BA Continnum Solutions,


Zee Ltd. uses material—A for the production of Product M. The safety stock of material A is 300 units; the supplier quotes a delivery delay of two or three weeks. If the company uses 500 to 800 units a week according to the activity levels, the re–order level of material–A will be A. 2300 units; B. 2400 units; C. 2700 units; D. 28 units.

0 Answers  


what is meant by cash purchase?

0 Answers  






What is balance sheet? How you come to know after seeing balance sheet that economic condition is good or bad any organisation?

10 Answers   Wipro,


purchase of stationey to proprietors daughter debited to stationery a/c.rectify it

2 Answers  


what happens to each of the three primary financial statements when capital expenditures decrease?

0 Answers   TCS,


Expand---------STRP

2 Answers  


what is the three basic rules of accounting?

3 Answers   TATA,


Define current assets

2 Answers  


method of preparing the trial balance ?

2 Answers  


Categories