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

Expand---------NMOP

0 Answers  


WHAT IS THE MEANING OF BLUE CHIP COMPANY?

2 Answers  


Expand---------RMP

1 Answers  


Expand---------PRTS

1 Answers  


Under what rate will be the Head office related accounts, like Head Office Current A/c, Goods from Head Office A/c, will be converted in case of Foreign Branch...??

1 Answers  






Expand L T C

2 Answers   SNR,


what is the meaning of credit note & debit note? why company using ?

1 Answers  


what is the treatment of rent paid more than 10000rs.

2 Answers  


EXPAND_______________TOT

2 Answers  


how to a/c in all bank passbook entry in tally erp 9 and all bank passbook short form informetion

2 Answers  


what is the difference between credit and debit note?

55 Answers   Accenture, FMCG, Private, Redson, TATA,


I WANT ACCOUNT ASSISTANCE INTERWIEV QUETION IN L&T

0 Answers   L&T,


Categories