Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урокОбсуждения
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 голос
7 ответовWhy the outcome is 20 how is that?
0 голосов
2 ответовChess tournment
0 голосов
2 ответовwhere's the error ?
-3 голосов
2 ответовWhye error???
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 ответовI am confused on this
0 голосов
1 ответАктуальное сегодня
What's the error in this code?
1 Votes
Py to Exe
0 Votes
How to find image links
0 Votes
I don’t know why but python seems to be harder than java to me does any body else fell like this?
0 Votes
What's wrong with my code?
0 Votes
TIMER
0 Votes
How I can win more Heart?
0 Votes