New course! Every coder should learn Generative AI!
Try a free lessonQ&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 AnswersWhy this code has no output?
0 Votes
1 AnswerArray Help
0 Votes
1 AnswerHot today
How to cast in python : 2
2 Votes
Bits
5 Votes
Why didn't I get it?
1 Votes
Polyalphabetic Cipher
0 Votes
Adding a photo
1 Votes
This error is showing.
0 Votes
Deploy website
1 Votes