Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This assignment takes the checking account project and applies classes. Your project will use a single form. Zip your project folder and files and upload
This assignment takes the checking account project and applies classes. Your project will use a single form.
Zip your project folder and files and upload the zip file to Canvas.
Create a class called Transaction. The class should have the following readwrite properties:
TransactionDate, TransactionType,
TransactionAmount, Payee, and CheckNumber. Include a ToString method to display account information.
Include the following validation in your class:
A transaction must have at least a transaction date, a transaction amount, and a transaction type.
The transaction amount should be tested to make sure it is a positive number. Use a static function to provide this test.
Each transaction must have a transaction type specified as deposit, service fee, or withdrawal.
The value of Payee defaults to "Deposit" if the TransactionType is deposit; and defaults to "Service Fee" if it is a service fee. If a transaction is a withdrawal, an entry must be made in the payee textbox and stored in the Payee property.
I need help with thise code in c# please! Here is what I have, just fill it out according to the nd picture I provided, thank you!
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