Question: 1 4 . 2 Applied Lab 3 . 2 : Mutual Fund App In this Lab we use our BST to create an application that

14.2 Applied Lab 3.2: Mutual Fund App
In this Lab we use our BST to create an application that helps users to track investments in mutual funds.
Step 1: Setup
1. Copy your updated LinkedList class from Applied Lab 3.1 into the LinkedList. java file below.
2. Copy your updated BST class from Lab 12 into the BST . java file below.
3. Then update your BST method inOrderString() to remove: +"
"(plus newline).
4. Also update your BST method inOrderString(Node node, StringBuilder inOrder) to change the added ""(space) to "
"(newline).
Step 2: Implement the MutualFund class
Using the starter code in MutualFund. java, fill in the empty method bodies.
- Note that you are not allowed to add any additional methods or member variables to this class (including no DecimalFormat member variables) or you will not receive credit.
- You may not make any additional import statements at the top of the file.
Step 3: Implement the MutualFundAcount class
Using the starter code in MutualFundAccount . java, fill in the empty method bodies.
- Note that you are not allowed to add any additional methods or member variables to this class (including no DecimalFormat member variables) or you will not receive credit for this part of the assignment.
- You may not make any additional import statements at the top of the file. Step 4: Implement the CustomerInterface class
Using the starter code in CustomerInterface . java, complete the file to match the Sample Outputs.
- The CustomerInterface class must read all the contents of the mutual_funds.txt file.
- You may add as many additional methods and variables as you would like to the below starter code.
- You must use the given BST and List objects given in the starter code, and no other structures.
- You may not make any additional import statements at the top of this file.
- You must use your BST class from Lab 12 and your LinkedList class from Applied Lab 3.1 to receive credit.
Sample Output:
- Please read through this sample output carefully
- Your output must match my sample output exactly for full credit - including line spacing
- If no error checking is shown for a particular menu option, then it is not necessary to include it for this assignment. Welcome to Mutual Fund InvestorTrack (TM)!
Please select from the following options:
A. Purchase a Fund
B. Sell a Fund
C. Display Your Current Funds
x. Exit
Enter your choice: B
You don't have any funds to sell at this time.
Please select from the following options:
A. Purchase a Fund
B. Sell a Fund
C. Display Your Current Funds
x. Exit
Enter your choice: C
You don't have any funds to display at this time.
Please select from the following options: A. Purchase a Fund
B. Sell a Fund
C. Display Your Current Funds
X . Exit
Enter your choice: A
Please select from the options below:
1. Total Bond Market Index Admiral Shares
VBTLX
Share Price: \$11.61
2. Intermediate-Term Investment-Grade
VFICX
Share Price: \$10.64
3. Mid-Cap Index Admiral Shares
VIMAX
Share Price: \$230.09
4. Municipal Money Market
VMSXX
Share Price: \$1.00
5. Total Stock Market Index Admiral Shares
VTSAX
Share Price: \$86.496. International Growth
VWIGX
Share Price: \$44.20
7. U.S. Growth
VWUSX
Share Price: \$62.41
Enter your choice: (1-7): 7
Enter the number of shares to purchase: 10
Please select from the following options:
A. Purchase a Fund
B. Sell a Fund
C. Display Your Current Funds
X . Exit
Enter your choice: A
Please select from the options below:
1. Total Bond Market Index Admiral Shares
VBTLX
Share Price: \$11.61
1 4 . 2 Applied Lab 3 . 2 : Mutual Fund App In

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!