namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
int number1 = 10;
int number2=20;
Console.WriteLine(number1);
Console.WriteLine(number2);
number1 = number1 + number2;
number2 = number1 - number2;
number1 = number1 - number2;
Console.WriteLine(number1);
Console .WriteLine (number2);
Console.ReadKey();
}
}
}
网友评论