Project 1 Learning objective: This project will help you to learn more about string processing and random class, to define data fields with appropriate getter and setter methods, to encapsulate data fields to make classes easy to maintain. Task: Generate email address for new employees. Create a program which will take inputs first name and last name of the employee. It should generate a new email based on the employee’s first name, last name. Generate a random string for their password. The employee should be able to change the password. Your program should have get and set methods to change the password. Have methods to display name, email, and mailbox capacity=1gb. Create a welcome email for the employee. Count the word count of the welcome email. Results: Sample of the output Enter first name of the employee: Tom. Enter last name of the employee: Frank. Email generated: Tom_Frank@umsl.edu Your password is mjkfv#$ Your mailbox capacity is 1 gb Please change your password. Enter new password: Tomf123 Your password was changed successfully. Welcome email! Subject line: Welcome to UMSL Dear Tom Frank, Welcome to UMSL — we are excited to have you aboard. Just a reminder, your first day is August 6. All you need to do is click the Zoom link in your calendar invite at 9 a.m. CST to join our onboarding meeting. Word count=42
Project 1
Learning objective:
This project will help you to learn more about string processing and
random class, to define data fields with appropriate getter and setter
methods, to encapsulate data fields to make classes easy to maintain.
Task:
Generate email address for new employees.
Create a program which will take inputs first name and last name of
the employee.
It should generate a new email based on the employee’s first name, last name.
Generate a random string for their password.
The employee should be able to change the password. Your program should
have get and set methods to change the password.
Have methods to display name, email, and mailbox capacity=1gb.
Create a welcome email for the employee.
Count the word count of the welcome email.
Results: Sample of the output
Enter first name of the employee: Tom.
Enter last name of the employee: Frank.
Email generated: Tom_Frank@umsl.edu
Your password is mjkfv#$
Your mailbox capacity is 1 gb
Please change your password. Enter new password: Tomf123
Your password was changed successfully.
Welcome email!
Subject line: Welcome to UMSL
Dear Tom Frank,
Welcome to UMSL — we are excited to have you aboard. Just a reminder, your first
day is August 6. All you need to do is click the Zoom link in your calendar invite at 9
a.m. CST to join our onboarding meeting.
Word count=42
Step by step
Solved in 3 steps with 1 images