Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuiteDiscussions Q&R
X;
-1 Vote
4 Réponsescondition for( X; A;C )
2 Votes
3 RéponsesC++
1 Vote
5 Réponsesi want to print sum of all integers from 1to 100 like for example :
1
3
6
10
15......
i tried it i know my code is wrong please help me class Program {
public static void main(String[] args) {
for(int x = 1; x <101; x++) {
int sum = int x;
System.out.println("1");
System.out.println("sum");
}
}
}
3 Votes
11 RéponsesAujourd'hui en vedette
Media on HTML
0 Votes
Is Sololearn better or Mimo.org?
1 Votes
How to show img???
0 Votes
How to cast in python
0 Votes
How to solve this
1 Votes
Java project
0 Votes
Jungle capming
0 Votes
JavaScript
0 Votes
Editor HTML
0 Votes