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 AnswersPlease help !
0 Votes
2 AnswersWrite a static method called weave that that takes two integers as parameters and that returns the result of weaving their digits together to form a single integer. Two numbers x and y are weaved together as follows. The last pair of digits in the result should be the last digit of x followed by the last digit of y. The second-to-the-last pair of digits in the result should be the second-to-the-last digit of x followed by the second-to-the-last digit of y. And so on.
0 Votes
13 AnswersSchool management system
-1 Vote
2 AnswersHot today
How to allow one instance of exe
1 Votes
purchase of a subscription
1 Votes
What has happened?
1 Votes
Theater management help me
2 Votes
What should I add/improve ?
1 Votes
Tools for web design?
1 Votes