Skip to content

Dom-Mitchell/FirstBankOfSuncoast

Repository files navigation

FirstBankOfSuncoast

Assignment

The goal of this assignment was to create a console app that allows a user to manage savings and checking banking transactions. A user can/will make a series of transactions as well.

Example
User transactions:

A user deposits $10 to their savings
Then withdraws $8 from their savings
Then deposits $25 to their checking

The user has three transactions to consider

In this case, the user's savings balance is $2 and their checking balance is $25

The transactions have been saved in a file, using a CSV format to record the data.

var existingPassword = "";

StringBuilder securePassword = new StringBuilder();
while (true)
{
    var keyPressed = Console.ReadKey(true);

    if (keyPressed.Key == ConsoleKey.Enter)
    {
        break;
    }
    if (keyPressed.Key == ConsoleKey.Backspace)
    {
        if (securePassword.Length > 0)
        {
            Console.Write("\b \b");
            securePassword.Length--;
        }
        continue;
    }

    Console.Write("*");
    securePassword.Append(keyPressed.KeyChar);


}
existingPassword += securePassword.ToString();

// Testing to see if password is being typed.
// Console.WriteLine($"\n{existingPassword}");

Above is a code snippet from my project that I made to hide a user's password as they are typing it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages