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

Expand-------IETF

2519


what is finance what is bpo why do u want join a BPO types of process in BPO Company's

2311


why do you want to work here?

2202


I've just started to work as an accounts executive and intending to take up SAP. Can anyone tell me what are the preparations required for me as an accountant to be a successful SAP consultant.

2209


what is meant by virus

8353


is it necessasary to make a partnership deed

2994


why cost center is assign to gl account in sap

1510


What is meant for GR form, which is used in export of goods without of payment of duty ? For what purpose we use it ? Should merchandise exporter use it ?

2322


Hi Im Arun D. I m short listed for Karnatka bank interview. Can anybody share ur experiences regarding Bank interview of karnatka bank which was held on dec for Clerical post. Please help me I f u can. thanx in advance

2067


How & When We Calculate Deffered Tax... Please Give me Some Example.?

2194


What is EBITDA

1925


hi guys, pls refer me how to preppare for Indian Bank exams.

2449


plz send all previous question papers for SBI clerical post.My email id is mechabhilash6@gmail.com

2063


please answer this question.the following balances were extracted from the books of modern traders on 31st dec,2010.capital(85000)fixed assets(45000)stock1-1-2010(15000)sundry debtors(20600)productive exp(3300)reserves fund(6600)discount received(800)cash in hand(6200)drawing(5000)accomulated dep.(9000)purchases(82000)bad debts(400)unproductive exp.(27400)sundry creditors(9000)sales(120000)cash at bank(25500).adjustments.stock on 31-12-2010(15000).outstanding wages (5000) write-off (600)of further bad debts. create provision for bad & doubtful debts at {5%) on debtors.unproductive expenses includes anitem of prepaid insurance (100).provide depreciation on original cost of fixed assets @ (10%).

2486


Why not we must to created Provision & Reserve? And if we're not to recognized what the effect will be?

2048