int a = 5, b = 10; Console.WriteLine("num1="+a + "num2="+b); a = a + b;b = a - b;a = a - b; Console.WriteLine("num1=" + a + "num2=" + b); Console.ReadKey();
int a = 5, b = 10; Console.WriteLine("num1="+a + "num2="+b); a = a + b;b = a - b;a = a - b; Console.WriteLine("num1=" + a + "num2=" + b); Console.ReadKey();
本文标题:两个字符交换位置
本文链接:https://www.haomeiwen.com/subject/snaxtqtx.html
网友评论