Dyskusje Q&A
Number of zeros at the end
2 głosów
16 odpowiedziHow many zeros does it take?
6 głosów
7 odpowiedziHi, 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 głosów
4 odpowiedziPopularne dzisiaj
Flowing Words
0 Votes
Help
2 Votes
Cool Projects for Python
0 Votes
If you had to start all over again on solo learn, which programming language would you learn first?
0 Votes
Black hole
2 Votes
Why does this not work? (Python)
0 Votes
Javascript
1 Votes
Solo learn account
1 Votes
Returning to Sololearn
2 Votes