using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace hello_world
{
class Program
{
static void Main(string[] args)
{
bool check = false;
Console.Write("아이디를 입력하세요: ");
string id = Console.ReadLine();
while (!check)
{
Console.Write("비밀번호를 입력하세요: ");
string pass = Console.ReadLine();
Console.Write("비밀번호를 다시 입력하세요: ");
string pass_check = Console.ReadLine();
if (pass == pass_check)
{
check = true;
}
else
{
Console.WriteLine("비밀번호가 틀렸습니다. 다시 입력해주세요\n");
}
}
Console.WriteLine("{0}님 환영합니다.", id);
}
}
}