Q&A Discussions
My first lesson !+?
2 Votes
2 AnswersHi, 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 AnswersHot today
How its output is 2 but not 3
0 Votes
Hi
0 Votes
Help
0 Votes
Checking personal activity
0 Votes
Use of global function in c
0 Votes
Python
0 Votes
Full form of HTML
0 Votes
Tryna learn dunno where to start
0 Votes