编辑代码

using System;

public class HelloWorld
{
    public static void Main()
    {
        //string a ="S";
        //string b ="7";
        //int c =12;
        //int e =9;
        //string d =a+(c+e).ToString()+b;
        //string f =string.Format("好的棒棒棒{0},期末考试一共得了{1}{2}分",a,c+e+83,b);
       //JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。
        //Console.WriteLine("HELLO world!     - cs.jsrun.net ");
        //Console.WriteLine(f);
        //string text = Console.ReadLine();
        //Console.WriteLine("这是我输入的内容" + text);

        //int wholeNumber = c + int.Parse(text);
        //Console.WriteLine(wholeNumber);
        
        while(true)
        {   
        string a ="输入你的年龄";
        Console.WriteLine(a);
        string b = Console.ReadLine();
        //Console.WriteLine("你的年龄" + b);
        int u = int.Parse(b);
        Console.WriteLine("输入想看几年后的年龄");

        string k = Console.ReadLine();
        int f =  int.Parse(k);
        int s = u + f ;

        if(s < 10)
        {
            Console.WriteLine(f + "年后你的年龄" + s);
            Console.WriteLine("你还是个宝宝");
        }
        else if(s > 90)
        {
            Console.WriteLine(f + "年后你的年龄" + s);
            Console.WriteLine("你竟是个老人Σ(っ °Д °;)っ");
        }
        else
        {
            Console.WriteLine(f + "年后你的年龄" + s);
            Console.WriteLine("加油(ง •_•)ง");
        }
         Console.WriteLine("___________________________________________________________________________________");
        //Console.WriteLine(f + "年后你的年龄" + s);
        }
    }
}