Question: Using VS code, please help me to code this JAVA programming assignment. Design a command-line user interface to the BankCD class that lets the user

Using VS code, please help me to code this JAVA programming assignment.

Design a command-line user interface to the BankCD class that lets the user input principal, interest rate, and years, and reports the CDs maturity value with both yearly and daily compounding. Use NumberFormat objects to display percentages and dollar figures in an appropriate format. The programs output should look something like the following (users inputs are in cyan):

************************ OUTPUT ********************

Compare daily and annual compounding for a Bank CD.

Input CD initial principal, e.g. 1000.55 > 2500

Input CD interest rate, e.g. 6.5 > 7.8

Input the number of years to maturity, e.g., 10.5 > 5

For Principal = $2,500.00 Rate= 7.8% Years= 5.0

The maturity value compounded yearly is $3,639.43

The maturity value compounded daily is: $3,692.30

************************ OUTPUT ********************

Requirements:

Have at least two classes one for the CD and one has the main method

Create at least 5 objects for different CD values. At least two fields must be private members and accessed through public methods

Write your own constructors

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 Databases Questions!