Question: Your goal is to create a class diagram, pseudocode and design an application. Assignment Instructions: Your goal is to create a class diagram, pseudocode and
Your goal is to create a class diagram, pseudocode and design an application.
Assignment Instructions:
Your goal is to create a class diagram, pseudocode and design an application to handle Fee Bearing Stock Transactions. This is an addon to the Lesson StockTransaction assignment.
There are two parts to the assignment.
Submission Instructions
If you would like, you can submit working C# code in addition to your required class diagram and pseudocode for each part. This is optional, but if you decide to do so and expand your learning, your score on the assignment will consist of your work on the class diagram plus the best score on either the pseudocode or the C# code.
C# is the only programming language that will be used throughout the course. Submission of code in any other language Java Python, C etc. will be marked as zero, and you will be asked to resubmit, even if the code is correct.
The code should be able to run when copied and pasted into an online compiler such as OnlineGDB.
Although not required, feel free to include a screenshot of your executed code in the OnlineGDB.
Part # Design FeeBearingStockTransaction Class
In Lesson you designed a class named StockTransaction that holds a stock symbol, stock name, number of shares bought or sold, and price per share.
In this assignment, you will design a class named FeeBearingStockTransaction that descends from StockTransaction and includes fields that hold the commission rate charged for the transaction and the dollar amount of the fee. The FeeBearingStockTransaction class contains a method that sets the commission rate and computes the fee by multiplying the rate by transaction price, which is the number of shares times the price per share. The class also contains get methods for each field.
Design the appropriate class diagram for the FeeBearingStockTransaction class and write the pseudocode that defines the class and the methods.
Class Diagram required insert below
Pseudocode required insert below
C# code optional insert below
Part # Design an application that uses the FeeBearingStockTransaction Class
Design an application that instantiates a FeeBearingStockTransaction object and demonstrates the functionality for all its methods.
Create the appropriate class diagram for the application and write the pseudocode.
Class Diagram required insert below
Pseudocode required insert below
C# code optional insert below
Please include part and part separately.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
