Student e-mail IDs at Pace University consist of the first and last initials of the student, followed by five digits, followed by either the letter n or the letter p.
Write a program that asks the user to enter a Pace e-mail ID. The program should then validate the form of the ID as just described. If the ID is invalid, the pro- gram should tell the user which part (or parts) of the ID is invalid. If the ID is valid, the program should display an appropriate message.
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-59371.pdf
Comments
Leave a comment