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

Short Answer on __________Event

0 Answers  


What is mean by BRS?

16 Answers  


What is AR, AP, what transctions comes under this.

1 Answers   ABC,


Please send the clerical exam questions and answers to my mail Id pinky18.02.1985@gmail.com

0 Answers  


circumstances in dissolution of solvent and insolvent partner in garner v/s murray rule

1 Answers  






is accrued expense is asset or liability

5 Answers   Franklin Templeton,


What is standing order

2 Answers  


what is depreciation ?

7 Answers   Genpact,


how to do journal???

2 Answers  


what is Credit derivatives,equity derivatives,SWAPS?

1 Answers   UBS,


What is Consolidated Statements

5 Answers   Capital IQ,


what salary you expect???

0 Answers   TATA,


Categories