Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

/|j Projethpdf x \\ \ e 7 x 0' l G) fi|e:/Users/Harni|/Down|oads/Project2.pdf Q r' This project involves writing a program that implements an ATM...

This is a large Java project, please review all material. It is programmed in NetBeans 8.2. Need done before sunday.

Obtaining data for Assignment 2

For Project 2, the assignment does not suggest a way of obtaining data for processing. There is a normal assumption that the programmer will generate several instances of the class and pass in a set of hard-coded values as arguments. There are two ways of obtaining the data for this program. The program can either (1) use a two-dimensional array with a set of initialized values or (2) a data file with the data being read into the program and then assigned into a two-dimensional array. Since there are various data types in the array row, you need to determine that best data type declaration for the array. Either way, a data file is supplied for this assignment to make it easier to test the programs among the members of this course and for the instructor to run the program for feedback and grading. The file to use with this program is PRJ2Accounts.txt; this file was created for this specific course. It is expected that you will use this file. The following is the data in the file that can also be used to initialize the two-dimensional array:

7623, S, Jones, Phyllis, 2000.00, 0

7623, C, Jones, Phyllis, 1200.00, 2

8729, S, Smith, Cletus, 1000.00, 1

8729, C, Smith, Cletus, 1700.00, 0

7321, S, Booth, Betty, 4500.00, 2

3242, C, Seybright, Sam, 4612.00, 0

3242, S, Seybright, Sam, 100.00, 3

9823, S, Blu, Oscar, 234.00, 2

9823, C, Blu, Oscar, 2345.00, 0

2341, S, Grief, Sally, 12373.12, 1

2341, C, Grief, Sally, 5421.12, 2

8321, S, Matchel, Jacques, 2314.00, 0

8321, C, Matchel, Jacques, 56233.00, 0

The fields/columns in the file are

1.   Bank Account Number

2.   Type of Account [S = Savings; C = Checking]

3.   Last Name of Account Holder

4.   First Name of Account Holder

5.   Initial Balance in the Account

6.   Current Number of Transactions

If you chose to use a file to input the data, an additional method can be added to the code as either part of Account Class or an independent method inserted before the main () method. Reading a file and assignment the data into an array was covered in the prior assignment.

Suggested Design for Assignment 2

Here is one skeleton design of this program.

package cmis242.prj2smithx;

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question