Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a C# forms program for a banking application. Your program will include an array of Account objects. The Account class should specify; An integer

Create a C# forms program for a banking application. Your program will include an array of Account objects. The Account class should specify;

An integer accountID instance variable

A decimal balance instance variable

Properties to get and set those instance variables

A withdraw method which deducts an amount from the balance

A deposit method which adds an amount to the balance.

The following program behavior is required

1. When the Create Account Button is clicked, the program creates an account with an initial balance from the Amount text box. It ignores whatever is in the Account ID text box and displays a new Account ID in that box.

2. When the Execute Button is clicked, the program adjusts the balance for the account specified in the Account ID text box by the amount in the Amount text box. The deposit and Withdraw buttons determine whether the amount is added or subtracted. If the Balance button is selected, the balance for the specified account is displayed.

3. The program must support 19 simultaneous accounts with account IDs of 1 19

4. A report for all transactions must be displayed in the area below the buttons.

5. The transaction report must be in a different color.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases And Information Systems 1 International Baltic Conference Dbandis 2020 Tallinn Estonia June 19 2020 Proceedings

Authors: Tarmo Robal ,Hele-Mai Haav ,Jaan Penjam ,Raimundas Matulevicius

1st Edition

303057671X, 978-3030576714

More Books

Students also viewed these Databases questions

Question

LO2 Explain the major laws governing employee compensation.

Answered: 1 week ago