TOPIC

Wrong Answer 100% (C#)

aakter43 asked 2 years ago

Please, anyone explain why my code is wrong. I don't find out.

using System;

class URI {

static void Main(string[] args)
{

    int A, B;
    Console.WriteLine("A =");
    A = Convert.ToInt32(Console.ReadLine());
    Console.WriteLine("B =");
    B= Convert.ToInt32(Console.ReadLine());

    int X = A + B;
    Console.WriteLine("X = {0}", X);

}

}

Remember not post solutions. Your post may be reviewed by our moderators.