Q&A Discussões
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 Voto
4 RespostasWhat is $ ?
0 Voto
4 Respostaswhat is output this
1 Voto
2 RespostasLoops
0 Voto
2 RespostasIteration
1 Voto
2 RespostasMethod Bucle (C#)
0 Voto
4 RespostasHow can I write cool?
2 Votos
4 RespostasString
0 Voto
2 RespostasQuente hoje
HTML
1 Votes
Functions in python
0 Votes
For Mobile app
0 Votes
I need advice
0 Votes
Answer please
0 Votes
I need advice
0 Votes