Sesiones de PyR
Why can't I add static?
2 Votos
3 RespuestasAre you auto static?
0 Votos
2 Respuestaspublic&static
0 Votos
1 RespuestaLinking Css in Django
0 Votos
1 RespuestaError Spam In C# Generics
8 Votos
1 RespuestaOverriding help
0 Votos
1 RespuestaThis Pointer
0 Votos
1 Respuestai 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 Votos
11 RespuestasHTML new versions
0 Votos
1 Respuestanode.js questions
7 Votos
3 Respuestaswhy 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 Votos
8 RespuestasEn tendencia hoy
Help please?
4 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Suggestions needed
4 Votes
Game development
0 Votes