Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming Assignment Creating User Names from Email Addresses Project Requirements Email addresses are of the form name@domain.xxx where xxx identifies the domain type. A new

Programming Assignment Creating User Names from Email Addresses
Project Requirements
Email addresses are of the form name@domain.xxx where xxx identifies the domain type. A new online software subscription service is free to anyone who is a student or who works for a school or college. Users are considered students if they have an educational email address ending in .edu The persons username for the subscription service must be the name part of their email address.
Your task is to create a program that will check an email address and evaluate it as a valid or invalid email address for the service. The program will perform two tasks.
The first task will be to verify that the program is working correctly. To do this, it will read two emails from a text file and determine their correctness. One email should fail the validation process and the other should pass the validation process. The program should print the results of the validation process to the screen at the Command Line Interface (CLI).
The evaluation of the emails in the first task should be based on the following requirements
verify that it is an educational email address.
If it is a valid educational email address, the program should then display the user his or her username.
If it is an invalid educational email address, the program should then display a message indicating the email is not an educational email address.
After the first task, the program should ask for the users email address at the command prompt or GUI Interface. The program should then accept the email address and process the email address.
The evaluation of the emails in both tasks should be based on the following requirements
verify that it is an educational email address.
If it is a valid educational email address, the program should then display the user his or her username.
The program should then ask the user to enter a new password.
The program should make the user enter the password again to make sure it matches. The program should not contain any other password verification other than making sure the two passwords match.
If the email address is not an educational email address, the program should tell the user this and allow the user to start over or end the program.
The Solution must contain at least one User Defined Method. The solution can contain more than 1 user-defined method. However, there is a 1 User Defined method minimum.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago