The name the java class file savingsaccount
|
||
---|---|---|
|
Due: |
a) use the name for the class file as identified in each question below
b) include your name, student id, campus, practical class day and time at the top of each file in the comments c) adhere to the coding standard as defined in section 4.5 of the PT Learning Guide
d) reference any sources that you used for inspiration of your solution as per section 4.4 of the PT Learning Guide
e) Ensure that your java code compiles and runs in Eclipse version 4.2.11) The name of the Java class for this question is to be lineNumbers_studentid where studentid is your student ID. Page 269, Programming Challenges, Question 14 (Line Numbers).
b. As well as the program displaying the ending balance and the total interest earned also display the total amount of deposits and the total amount of withdrawals when the program terminates (if both files exist).
Note: the deposits.txt and withdrawals.txt files may not contain the same data as shown on page 404 when tested by the marker. Your program needs to function correctly for any number of lines of data in each file and any combination of data values.
b. Write additional code in your program so that it generates output to answer these questions: i. How many people passed the exam?
ii. How many people failed the exam?
• demonstrate your completed work for Question 1 and Question 2 above
• answer a few short questions from the tutor about your work
• Zip up the entire Prac3 folder in which you have created your solution for this prac set.studentid_StudentName_PracSet3_FINAL.zip
where studentid is your student id, and StudentName is your full name.
|
|||
---|---|---|---|
4 | (1) | ||
5 |
|
|
(6) |