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
Expand-------IETF
what is finance what is bpo why do u want join a BPO types of process in BPO Company's
why do you want to work here?
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.
what is meant by virus
is it necessasary to make a partnership deed
why cost center is assign to gl account in sap
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 ?
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
How & When We Calculate Deffered Tax... Please Give me Some Example.?
What is EBITDA
hi guys, pls refer me how to preppare for Indian Bank exams.
plz send all previous question papers for SBI clerical post.My email id is mechabhilash6@gmail.com
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%).
Why not we must to created Provision & Reserve? And if we're not to recognized what the effect will be?