(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) ✓ 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 generate Password() 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 ✓ 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. ✓ Example: Joanne Rowling ->jrowling2@kean.edu Method generate Password() 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 Joanne Rowling jrowling2@kean.edu Password 548876
(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) ✓ 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 generate Password() 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 ✓ 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. ✓ Example: Joanne Rowling ->jrowling2@kean.edu Method generate Password() 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 Joanne Rowling jrowling2@kean.edu Password 548876
C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter11: Inheritance And Composition
Section: Chapter Questions
Problem 28SA
Related questions
Question
100%
in java program eclipse.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning