public static void Main()
string [] menu = {"Balance Inquiry","Withdraw","Deposit","Change Pin","Paybills"};
Console.WriteLine("Welcome to BPI ATM Banking");
Console.Write("Enter pin: ");
inpin = int.Parse(Console.ReadLine());
for (int i = 0; i <menu.Length ; i++)
Console.WriteLine("[{0}] {1}",i+1 ,menu[i]);
Console.WriteLine("[x] Cancel");
Console.Write("Please select a transaction: ");
choice = Console.ReadLine();
Console.WriteLine("The current balance in your account is {0}",balance);
Console.Write("Proceed with another transaction? y/n: ");
string choice2 = Console.ReadLine();
Console.Write("Enter the amount to withdraw: ");
withdraw = int.Parse(Console.ReadLine());
balance = balance - withdraw;
Console.WriteLine("Please collect the cash {0}",withdraw);
Console.WriteLine("The current balance is now {0}",balance);
Console.Write("Proceed with another transaction? y/n: ");
string choice2 = Console.ReadLine();
Console.WriteLine("Amount withdrawal must be a multiples of 100.");
Console.Write("Enter the amount to be deposit: ");
deposit = int.Parse(Console.ReadLine());
balance = balance + deposit;
Console.WriteLine("The current balance is now {0}",balance);
Console.Write("Proceed with another transaction? y/n: ");
string choice2 = Console.ReadLine();
Console.WriteLine("Amount withdrawal must be a multiples of 100.");
Console.WriteLine("Want to change your pin?");
Console.Write("Enter your previous pin: ");
int inputpin = int.Parse(Console.ReadLine());
Console.Write("Enter your new pin: ");
int newpin = int.Parse(Console.ReadLine());
Console.Write("Re-type new pin: ");
int repin = int.Parse(Console.ReadLine());
Console.Write("Proceed with another transaction? y/n: ");
string choice2 = Console.ReadLine();
Console.WriteLine("Incorrect PIN.");
Console.Write("Proceed with another transaction? y/n: ");
string choice2 = Console.ReadLine();
Console.Write("Enter biller name (Globe, Cepalco, Parasat, Credit Card): ");
string billname= Console.ReadLine();
Console.Write("Enter the bill amouint: ");
pay = double.Parse(Console.ReadLine());
Console.WriteLine("{0} paid to {1}",pay,billname);
Console.WriteLine("The current balance is now {0}",balance);
Console.Write("Proceed with another transaction? y/n: ");
string choice2 = Console.ReadLine();
Console.WriteLine("Please select a valid option");
Console.Write("Proceed with another transaction? y/n: ");
string choice3 = Console.ReadLine();
Console.WriteLine("Invalid PIN");
while (inpin != pin && z < 3);
Console.WriteLine("Please try again tomorrow or contact your nearest branch.");
Console.WriteLine("Thank you for banking with us. Goodbye!");