Question: Using the programming language java Write a program that generates a text file with 100 randomly generated phone book entries. The program will read from

 Using the programming language java Write a program that generates a
Using the programming language java

Write a program that generates a text file with 100 randomly generated phone book entries. The program will read from a list of firstnames, a list of last names, and a list of US area codes to use for generating the phone book. The phone book will be saved to a text file named phoneBook.txt Each entry in the list will take up one line with the form: Lastname;Firstname;phoneNumber;email; print a semi-colon between each entry with no spaces. the phone number is 10 digits with no characters. The first 3 digits will be randomly used from the areaCode.txt list. The email is the first initial of the first name + the first 5 letters of the lastname + a randomly selected email provider.com

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!