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
Short Answer on _________________City Compensatory allowance
what are the difference between banking institutions and financial institutions?
why cost center is assign to gl account in sap
What Are The Characteristics Of Modern Accounting?
what is Calculation of Gross Profit Or Gross Loss?
What is Trade Recovery Estimate and how can we calculate it?
tell me about roll model as father
I WANT ACCOUNT ASSISTANCE INTERWIEV QUETION IN L&T
what do you mean by jounal voucher? Jounal entry for dishonored cheque can be possible thruogh jv?
Hi, I am preparing for Junior Accounts Officers test- APTRANSCO. Can any one suggest the model paper / Books available? john kadapa
What are direct income and indirect income
About Funding Working Capital to a Company? A company Turn over is 12 Cr, but in the bank statement credits per month is more that 3 Cr? how this could happen? awaiting your views?
What is mean by Reserve on Consolidation?
is there any chance for confilcts between an accountant and a sales executive ? If yes how do you resolve the same as an accountant ?
I need all WNS interview questions