Q&A Discussions
Name mangling style in c++
3 Votes
3 AnswersProbability and statistics
0 Votes
4 AnswersWhy can't I add static?
2 Votes
3 AnswersConst Variables in a Class
3 Votes
2 AnswersAre you auto static?
0 Votes
2 Answerspublic&static
0 Votes
1 AnswerWhy this code prints 0,0,0
0 Votes
2 AnswersLinking Css in Django
0 Votes
1 AnswerError Spam In C# Generics
8 Votes
1 AnswerOverriding help
0 Votes
1 AnswerThis Pointer
0 Votes
1 Answeri 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 AnswersHTML new versions
0 Votes
1 Answernode.js questions
7 Votes
3 AnswersWebsite development process
0 Votes
3 Answerswhy 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 Votes
8 AnswersHot today
Pig Latin
0 Votes
Someone can help me
0 Votes
Please rate my code from 1 to 10
2 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
I’m new someone can help me
0 Votes