# Q&A Discussions

Number of zeros at the end 2 Votes 16 Answers

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 Answers

Hot today

I have made a calculator in which my % (Percentage) not work correctly for 100%50 or 100%20. 2 Votes

Python palindrome challenge. 1 Votes

Java 0 Votes

Number of Ones ( C++ ) question! 1 Votes