Question
C# Help I am working project and above is the form and what I have so far for the form The Requirement are A transaction
C# Help
I am working project and above is the form and what I have so far for the form
The Requirement are
A transaction includes the following information: when the transaction occurred, the amount of the transaction, the kind of transaction (deposit, withdrawal, service fee), and whether the transaction has cleared the bank.
The transaction amount should be tested to make sure it is a positive number.
The transaction date should also be tested to be sure a date has been entered, and the date is on or before today.
Each transaction must have a transaction type specified (deposit, service fee, withdrawal).
A withdrawal cannot cause the actual balance to be less than zero (a service fee can result in a negative balance).
Two account balances need to be tracked: actual and processed (cleared). The actual account balance changes when a new transaction is created IF all of the requirements are met. The processed balance changes if all of the requirements are met AND the transaction is marked as processed.
Form
Create a class-level two-dimensional string array to hold each transaction, and a class-level integer to track where in the array to assign the next transaction entry.
The process button is to add a new transaction. If the entry is valid, use the class-level integer to assign the transaction values to the appropriate elements in the array. Also add the transaction information in the listbox as an item in the listbox and update the account balances.
The listbox on the included form should show all transactions. When a new transaction is created, add information about the transaction to the list box as a string (date, amount, type of t transaction, and whether the transaction has been processed).
When an entry in the listbox is selected, display the data for that transaction in the appropriate controls.
The clear button sets up the form for entering a new transaction.
The exit button (coded) simply closes the form.
Checking Account with Array Transaction LIype: Transaction Date: Transaction Amount: Transaction processed by bank Transactions Ist Transactions Actual Balance: Bank Balance: Process Exit Checking Account with Array Transaction LIype: Transaction Date: Transaction Amount: Transaction processed by bank Transactions Ist Transactions Actual Balance: Bank Balance: Process Exit
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started