Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class BankAccount
- {
- static void Main()
- {
- string holderFirstName = "First";
- string holderMiddleName = "Middle";
- string holderLastName = "Last";
- string bankName = "Second Investment Bank";
- decimal accountBalance = 197987897446313.99m;
- string accountIBAN = "BG45RZBB48786549354266";
- string bankBIC = "RZBBBGSF";
- ulong[] creditCardnum = new ulong[] {7865412365898745, 4879532145789245, 9557224561115486};
- Console.WriteLine("Full name: \t\t{0}", holderFirstName + " " + holderMiddleName + " " + holderLastName);
- Console.WriteLine("Balance: \t\t\u0024{0}", accountBalance);
- Console.WriteLine("Bank name: \t\t{0}", bankName);
- Console.WriteLine("IBAN: \t\t\t{0}", accountIBAN);
- Console.WriteLine("BIC: \t\t\t{0}", bankBIC);
- for (int i = 0; i < creditCardnum.Length;i++ )
- {
- Console.WriteLine("Credit card number #{0}:\t{1}", i+1, creditCardnum[i]);
- }
- Console.WriteLine();
- }
- }
Add Comment
Please, Sign In to add comment