using System;
class validate
{
public static void Main()
{
string str_wrench="ilovemyfamily";
string str_next="";
Console.WriteLine ("請(qǐng)輸入你的姓名:");
Console.ReadLine ();
do
{
Console.WriteLine ("請(qǐng)輸入你的密碼:");
string str_passwd=Console.ReadLine ();
if(str_passwd!=str_wrench)
{
Console.WriteLine ("密碼不正確,是否繼續(xù)?Y/N");
}
str_next=Console.ReadLine ();
}while(str_next=="y"||str_next=="Y");
}
}
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)
點(diǎn)擊舉報(bào)。