Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

DataGenerator reads from names.txt, and uses the names in that file to

JAVA FOR BEGINNERS
*****generate a

data file for use in the next

homework. The program to generate the data is DataGenerator.java.

DataGenerator reads from names.txt, and uses the names in that file to

make a data file with one person per line (or per record) and

pseudorandom data associated with each name. The program also reads from

area-codes.txt for a list of valid North American area codes for use in

the pseudorandom phone numbers.

Run the program, look at the output, try to understand the inputs, the

program, and the output, and submit two things:

(1) A screen shot of DataGenerator running.

(2) The file, db.txt, generated by DataGenerator.

It is okay if you need to change the location of the input or output

file, which would involve changing a line in main(). However, it would

be better to figure out where your IDE runs your program and place

names.txt there. 

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"