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...

find the sum of all the numbers 1 to 1000

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

we are in contraction business, we purchase raw material and paid tax on related material, suppose we want to bill to our party in WCT?

2054


What is Direct Debit

2238


What is payment/receipt/period accruals?

1737


reason for difference in Balance sheet (Asset side & Liabilites side)

2021


What are the duties of sales tax department? Explain it

2229


What z d diff of accounting principle,accounting standard,accounting rules,accounting procedures,accounting concepts??????

2476


What type of Questions are asked for Interview in Infosys - Financial Process. Any one who is into Research Analyst or Process Executive role, kindly contribute the Questions faced by you?

2212


Expand-------BANT

2210


bill to addres? ship to addres? rimit to address?

5835


Office cash was stolen? state whether the following transcation is business transcation or non business transcation?

1979


What is the procedure to take loan

2250


Difference between cash and merchantile system?

2273


Expand--------CMTS

2385


i AM CURRENTLY DOING B.COM. i INTEND TO PURSUE MY MASTERS AT USA IN ECONOMICS AND FINANCE OR ACCOUNTING...CAN U TELL ME THE CRITERIA AND WHICH EXAM DO I NEED TO QUALIFY FOR???

1941


what is ledger account

2109