¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuitaSesiones de PyR
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SoloLearn
{
class Program
{
static void Main(string[] args)
{
int age = Convert.ToInt32(Console.ReadLine());
int broAge = Convert.ToInt32(Console .Readline());
Console.WriteLine("You are {0} years old", "your bro is {1}", age, broAge );
}
}
}
-1 Voto
7 RespuestasChess tournment
0 Votos
2 Respuestaswhere's the error ?
-3 Votos
2 RespuestasWhye error???
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 RespuestasI am confused on this
0 Votos
1 RespuestaEn tendencia hoy
How to remember what you learned
2 Votes
Usage of Carriage Return (`\r')
3 Votes
How to build logic?
0 Votes
I want a little help.
0 Votes
What is the output of this code?
0 Votes
Question: about node.js
1 Votes