Everyone at OOPU gets assigned a college email account. The account is created using a simple formula.

Question:

Everyone at OOPU gets assigned a college email account. The account is created using a simple formula. The email username is simply the person’s first name and last name, separated by a dot. Then the OOPU domain name is appended with the @ sign. The OOPU domain name is oopu.edu. Rewrite the classes you created in Programming Challenge 3 to include a method to create an email address by using the Name attribute and concatenating it with the string “@oopu.edu” instead of having the user enter an email address.

● The attribute you will need to add is EmailAddress.

● The method you will need to add is CreateEmail().

● Some sample OOPU email addresses follow:
● Elizabeth.Drake@oopu.edu

● Stewart.Venit@oopu.edu
● Hermione.Crabbe@oopu.edu

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Prelude To Programming

ISBN: 9780133741636

6th Edition

Authors: Stewart Venit, Elizabeth Drake

Question Posted: