Skip to content

Implement functionality to remove a bank account by account number #2

Description

@DenizKenanEk

A new class RemoveAccount has been added to handle the deletion of a bank account from the system using the account number as a reference. This class performs the following actions:

Reads current account data from the file using FileIO.Read().

Searches the BankAccount[] array for the matching account number.

Sets the matching account to null to effectively remove it.

Updates the bank's account list and writes the changes back using FileIO.Write().

Prints a confirmation message to the console based on the result.

This helps in managing and maintaining the integrity of stored accounts by allowing safe removal operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions