Q&A Discussions
Hi, I need assistance aka HELP!
I've done this calculation in various ways some of printed nothing but zeros non stop.
Using while loop calculate all numbers 1 to 1000 add numbers to sum = sum + i
int sum = 0;
// use a while loop to calculate the sum of 1 to 1000
While(int sum = 0; sum >= 1000; sum = sum + I){
System.out.println(sum);
}
0 Votes
4 AnswersHow to sum 2 numbers in c#
0 Votes
4 AnswersSum of first 10 natural numbers
-2 Votes
2 Answershow to count the sum
0 Votes
2 AnswersHow to solve this problem
0 Votes
5 Answerscalculate the sum and output it
-5 Votes
4 AnswersHot today
How to use the get() method
2 Votes
Game Dev Path
1 Votes
How to get account back?
1 Votes
So this what I'm trying to solve
2 Votes
PHP Tutorial Idea
1 Votes
Problem whit Javascript
1 Votes