public static void Main(string[] args)
int pin=4040,PIN1,Ppin,Newpin,RTpin;
String CHO1,CH2,billname;
double balance = 10000.00,withdraw,deposit,bills;
Console.WriteLine("Welcome to ATM BPI Bank");
Console.WriteLine("Enter the Pin:");
PIN1 = int.Parse(Console.ReadLine());
Console.WriteLine("[1] Balance Inquiry");
Console.WriteLine("[2] Withdraw");
Console.WriteLine("[3] Deposit");
Console.WriteLine("[4] Change Pin");
Console.WriteLine("[5] Paybills");
Console.WriteLine("[x] Cancel");
Console.Write("Please select a transaction: ");
CHO1 = Console.ReadLine();
Console.WriteLine("The current balance in your account is: "+ balance);
else if(CHO1.Equals("2"))
Console.WriteLine("Please enter amount to withdraw: ");
withdraw = int.Parse(Console.ReadLine());
Console.WriteLine("Please collect the cash: "+withdraw);
Console.WriteLine("The current balance is now: "+ balance);
else if(CHO1.Equals("3"))
Console.WriteLine("Please enter amount to deposit: ");
deposit = int.Parse(Console.ReadLine());
Console.WriteLine("The current balance in the account is: "+ balance);
else if(CHO1.Equals("4"))
Console.WriteLine("Want to change your pin?");
Console.WriteLine("Enter previous pin: ");
Ppin = int.Parse(Console.ReadLine());
Console.WriteLine("Enter new pin: ");
Newpin = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Re-type new pin: ");
RTpin = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Your pin has changed");
Console.WriteLine("New pin mismatched. Try Again.");
Console.WriteLine("Old pin mismatched. Try Again.");
else if(CHO1.Equals("5"))
Console.WriteLine("Enter biller name(Globe, Cepalco, Parasat, Credit Card): ");
billname = Console.ReadLine();
Console.WriteLine("Enter bill amount: ");
bills = int.Parse(Console.ReadLine());
Console.WriteLine(bills+" paid to "+billname);
Console.WriteLine("The current balance is now: "+ balance);
Console.WriteLine("Thank You for Banking with us. Goodbye!");
Console.WriteLine("Proceed with another transaction? y/n: ");
CH2 = Console.ReadLine();
if(CH2.Equals("y") || CH2.Equals("Y"))
Console.WriteLine("Thank You for Banking with us. Goodbye!");