代码改变世界

TEST C#

2009-12-28 22:28  youthjiang  阅读(222)  评论(0编辑  收藏  举报

 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace IF
{
    class Program
    {
        static void Main(string[] args)
        {
            //Define the age of the people
            int nAge;
            nAge = 29;
            if (nAge > 30)
            {
                Console.WriteLine("You are middle people!");                
            }
            else
            {
                Console.WriteLine("Young People!");
            }
        }
    }