码迷,mamicode.com
首页 > 其他好文 > 详细

66666

时间:2016-02-16 10:00:33      阅读:140      评论:0      收藏:0      [点我收藏+]

标签:

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

namespace Plus
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Please Enter A and B:");
            int a, b;
            Console.Write("A = ");
            a = Convert.ToInt32(Console.ReadLine());
            Console.Write("B = ");
            b = int.Parse(Console.ReadLine());

            int c = a + b;
            Console.WriteLine("{0} + {1} = {2}", a, b, c);
            Console.ReadKey();
        }
    }
}

 

66666

标签:

原文地址:http://www.cnblogs.com/yizitrd/p/5191722.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!