using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) {
            Console.WriteLine("digite duas variaveis inteiras: ");
            int A;
            A = Convert.ToInt32(Console.ReadLine());
            int B;
            B = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("A + B: " + A + " " + B);
            int AB;
            AB = Convert.ToInt32(A);
            Console.WriteLine("B + A: " + (A = B) + " " + (B = AB));
        }
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: