2018-10-24作业1

2018-10-24  本文已影响0人  零二幺五

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

 namespace ConsoleApplication1

 {

 class Program

 {

 static void Main(string[] args)

 {

 int number1 = 10;

 int number2 = 5;

Console.WriteLine("number:" + number1 + ",number2:" + number2);

int temp;

temp = number1;

number1 = number2;

 number2 = temp;

Console.WriteLine("number:" + number1 + ",number2:" + number2);

 Console.ReadKey();

 }

 }

 }

上一篇 下一篇

猜你喜欢

热点阅读