Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobierenF&A Diskussionen
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 Stimmen
4 AntwortenPlease help !
0 Stimmen
2 AntwortenWhy this code doesn't go?
1 Stimme
1 AntwortWrite 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 Stimmen
13 AntwortenSchool management system
-1 Stimme
2 AntwortenArray
0 Stimmen
2 AntwortenWhy this code has no output?
0 Stimmen
1 AntwortHeute heiß
CSS TRANSITION
1 Votes
Related to Tuple and list
1 Votes
Code suggestions
0 Votes
Quick question in python.
1 Votes
Doubt
1 Votes