+ 2
Can you tell me, what's wrong with the code?
2 Respuestas
+ 1
// вот что нужно в main
int x = Convert.ToInt32(Console.ReadLine());
Console.Write("x = {0}", x);
int y = Convert.ToInt32(Console.ReadLine());
Console.Write("\ny = {0}",y);
int sum = x+y;
Console.WriteLine("\nResult: {0}", sum);