ITS320 week3 Cirtical thinking Solution
Enter the code for the two classes "BankAccount.java" and "Program2.java" shown below. The Program2 class is the driver class that uses the BankAccount worker class to implement the application. Note that this version of the BankAccount class accepts a monthly interest rate in decimal format that must be calculated by the user.
Assignment Deliverable Instructions:
1.Submit only the modified source code files, final user inputs, and final output. Do not submit the original source code, inputs, and output.
2. Make sure that you include the course, the program number, your name, and the date in your program header. Also include this information at the top of your Microsoft Word file. Include additional comments, as necessary, and maintain consistent indentation for good programming style, as shown and discussed in our text.
3.You may use the Windows Command Prompt command line interface or any Java IDE you choose to compile and execute your program.
4.You are to submit the following deliverables:
a. A single Microsoft Word file containing a screen snapshot of your Java source code for both Program2.java and BankAccount.java (just the beginnings of the source code is OK) as it appears in your IDE (e.g., jGRASP, Eclipse, Net Beans, JDeveloper, etc.) or editor (e.g., a Windows command line "more" of the .java file's first screen).
b. A listing of your entire modified version of the Java source code for Program2.java and BankAccount.java in the same Microsoft Word file as item a), and following item a). You may simply copy and paste the text from your IDE into Microsoft Word. Make sure to maintain proper code alignment by using Courier font for this item. Do not submit the original source code files!
c. A screen snapshot showing all of your program’s inputs and output in the same Microsoft Word file, and following item b) above.
5.Your instructor will compile and run your program to verify that it compiles and executes properly.
6.You will be evaluated on (in order of importance):
•Inclusion of all deliverables in Step #4 in a single Microsoft Word file.
•Correct execution of your program. This includes getting the correct results with the modified class files!
•Adequate commenting of your code.
You'll get 1 file (147.5KB)