#代码
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("请输入密码");
int mima = Convert.ToInt32(Console.ReadLine());
if (mima == 88888)
{
Console.WriteLine("正确");
}
else
{
Console.WriteLine("请再输入一次");
int mima2 = Convert.ToInt32(Console.ReadLine());
if (mima2 == 88888)
{
Console.WriteLine("正确");
}
if(mima2!=88888)
{
Console.WriteLine("错误");
}
}
Console.WriteLine("程序结束");
Console.ReadKey();
}
}
}
#效果