Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урокОбсуждения
Probability and statistics
0 голосов
4 ответовWhy can't I add static?
2 голосов
3 ответовWhat is a parameterized constructor?
0 голосов
1 ответTrivial question about interfaces
3 голосов
4 ответовConst Variables in a Class
3 голосов
2 ответовAre you auto static?
0 голосов
2 ответовpublic&static
0 голосов
1 ответStaticfiles are not being loaded
0 голосов
7 ответовWhy this code prints 0,0,0
0 голосов
2 ответовLinking Css in Django
0 голосов
1 ответError Spam In C# Generics
8 голосов
1 ответOverriding help
0 голосов
1 ответThis Pointer
0 голосов
1 ответi 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 голосов
11 ответовHTML new versions
0 голосов
1 ответnode.js questions
6 голосов
3 ответовwhy is it not running?
import java.util.Scanner;
public class Myclass{
public static void main(String [] args){
Scanner in = new Scanner(System.in);
String a;
int b;
System.out.println("enter a word");
a = in.nextLine();
System.out.println("enter repetition")
b = in.nextInt();
for ( int = 0; x < b; x = x++)
System.out.println(a);
}
}
0 голосов
8 ответовWebsite development process
0 голосов
3 ответовJava class does it work like this?
0 голосов
2 ответовAbstract and Interface: -
1 голос
1 ответWhy the outcome is 20 how is that?
0 голосов
2 ответовWhat is "Global Memory" in C++?
0 голосов
2 ответовАктуальное сегодня
CSS TRANSITION
1 Votes
Related to Tuple and list
1 Votes
Front-end or Back-end
0 Votes
Code suggestions
0 Votes