作业3

作者: 不会再有 | 来源:发表于2018-10-24 18:07 被阅读0次
    QQ截图20181024180636.png

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;

    namespace _20181024
    {
    class Program
    {
    static void Main(string[] args)
    {
    int number1 = 10;
    int number2 = 5;
    Console.WriteLine("number1={0},number2={1}", number1, number2);
    number1 = number1 + number2;//number1 = 15
    number2 = number1 - number2;//number2 = 10
    number1 = number1 - number2;//number1 = 5
    Console.WriteLine("↓替换后");
    Console.WriteLine("number1={0},number2={1}", number1, number2);
    Console.ReadKey();
    }
    }
    }

    相关文章

      网友评论

          本文标题:作业3

          本文链接:https://www.haomeiwen.com/subject/ycbxtqtx.html