Assume you are working for the Kean University and given a task to build an Email Registration System. Part of your task is to generate a unique Kean email ID and temporary password for every new user. There are two potential variants of Kean email: email for those whose name is unique in the system and email for those whose first name and last name combination already exists in the system (for another student). To implement this task, create a complete Java program consisting of the following modules: Main method will have a loop of your choice that will ask five users one by one to provide their first name and last name. Be aware that even users have duplicates in the system (there exists the same First and Last name) v Example for 1 input (1 iteration of the loop): • Enter your first name: Joanne • Enter your last name: Rowling Main method will call generateEmail() and generatePassword() methods to generate Kean email and its password

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%
(You cannot use arrays for this assignment)
• Assume you are working for the Kean University and given a task to build an Email Registration System. Part of
your task is to generate a unique Kean email ID and temporary password for every new user. There are two
potential variants of Kean email: email for those whose name is unique in the system and email for those whose
first name and last name combination already exists in the system (for another student). To implement this task,
create a complete Java program consisting of the following modules:
• Main method will have a loop of your choice that will ask five users one by one to provide their first name and last
name. Be aware that even users have duplicates in the system (there exists the same First and Last name)
v Example for 1 input (1 iteration of the loop):
Enter your first name: Joanne
Enter your last name: Rowling
• Main method will call generateEmail() and generatePassword() methods to generate Kean email and its
password
First generateEmail) method will generate a personal Kean email address based on the first name and last
name. Such Kean email address consists of the first letter of the first name and the entire last name all in lower
case appended with @kean.edu
v Example: Joanne Rowling =
jrowling@kean.edu
Second generateEmail() method, that can be used if email, generated by the first method (above) already exists in
the system, such Kean email consist of the first letter of the first name, the entire last name and an integer at the end
(you can generate a random digit from 2 to 9) all in lower case appended with @kean.edu. The integer will be
provided as a parameter to this method.
v Example: Joanne Rowling=>jrowling2@kean.edu
• Method generatePassword() will generate and return to the caller a Random integer between 100000 and
999999 to be used as a temporary password
• Main method will information for each of 5 students in the form of small table in the form below on Console:
Full name
Kean email
Password
Joanne Rowling irowling2@kean.edu
548876
Transcribed Image Text:(You cannot use arrays for this assignment) • Assume you are working for the Kean University and given a task to build an Email Registration System. Part of your task is to generate a unique Kean email ID and temporary password for every new user. There are two potential variants of Kean email: email for those whose name is unique in the system and email for those whose first name and last name combination already exists in the system (for another student). To implement this task, create a complete Java program consisting of the following modules: • Main method will have a loop of your choice that will ask five users one by one to provide their first name and last name. Be aware that even users have duplicates in the system (there exists the same First and Last name) v Example for 1 input (1 iteration of the loop): Enter your first name: Joanne Enter your last name: Rowling • Main method will call generateEmail() and generatePassword() methods to generate Kean email and its password First generateEmail) method will generate a personal Kean email address based on the first name and last name. Such Kean email address consists of the first letter of the first name and the entire last name all in lower case appended with @kean.edu v Example: Joanne Rowling = jrowling@kean.edu Second generateEmail() method, that can be used if email, generated by the first method (above) already exists in the system, such Kean email consist of the first letter of the first name, the entire last name and an integer at the end (you can generate a random digit from 2 to 9) all in lower case appended with @kean.edu. The integer will be provided as a parameter to this method. v Example: Joanne Rowling=>jrowling2@kean.edu • Method generatePassword() will generate and return to the caller a Random integer between 100000 and 999999 to be used as a temporary password • Main method will information for each of 5 students in the form of small table in the form below on Console: Full name Kean email Password Joanne Rowling irowling2@kean.edu 548876
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY