public static void Main()
string newPin,userPin,retype,billerName,y;
int deposit,withdraw,billAmount = 0;
Console.WriteLine("Welcome to BPI ATM Banking");
Console.Write("Enter the Pin: ");
userPin = Console.ReadLine();
while(!(userPin.Equals(dpin)))
Console.WriteLine("Wrong Pin Try again");
Console.Write("Enter the Pin: ");
userPin = Console.ReadLine();
Console.WriteLine("[1] Balance Inquiry \n" +
Console.Write("Please select Transaction: ");
userChoice = Console.ReadLine();
Console.WriteLine("Your current balance in your account is {0}",balance);
Console.Write("Enter amount to withdraw: ");
withdraw = int.Parse(Console.ReadLine());
Console.WriteLine("Please collect the cash {0}",withdraw);
balance = balance - withdraw;
Console.WriteLine("Your current balance in your account is {0}",balance);
Console.Write("Enter the amount to be deposit: ");
deposit = int.Parse(Console.ReadLine());
balance = balance + deposit;
Console.WriteLine("Your current balance in your account is {0}",balance);
Console.Write("Want to change your pin? \n" +
"Enter your previous pin: ");
userPin = Console.ReadLine();
Console.Write("Enter your new pin: ");
newPin = Console.ReadLine();
Console.Write("Re-type new pin: ");
retype = Console.ReadLine();
while(!((newPin.Equals(retype)))&&(!(retype.Equals(newPin)))&&(!((userPin.Equals(newPin)))&&(!((newPin.Equals(userPin))))))
Console.Write("New pin mismatched. Try Again. \n" +
userPin = Console.ReadLine();
Console.Write("Re-type new pin: ");
newPin = Console.ReadLine();
Console.WriteLine("Your pin is changed now.");
Console.Write("Enter biller name(Globe, Cepalco, Parasat, Credit Card):");
billerName = Console.ReadLine();
Console.Write("Enter the amount of bill: ");
billAmount = int.Parse(Console.ReadLine());
Console.Write("Enter the amount of bill: ");
billAmount = int.Parse(Console.ReadLine());
Console.Write("Enter the amount of bill: ");
billAmount = int.Parse(Console.ReadLine());
billerName = "Credit Card";
Console.Write("Enter the amount of bill: ");
billAmount = int.Parse(Console.ReadLine());
Console.WriteLine("{0} paid to Credit {1}",billAmount,billerName);
balance = balance - billAmount;
Console.WriteLine("Your current balance in your account is {0}",balance);
Console.WriteLine("Thank You for banking with us. Goodbye!");
Console.Write("Proceed with another transaction? y/n: ");
Console.WriteLine("Thank You for banking with us. Goodbye!\n");