165k views
5 votes
Assume you have created a program that has the user enter an email address of the form: [email protected] An extension for the email should be three letters (no numbers or other characters). List four types of input errors your program should test for.

User DaClown
by
4.9k points

1 Answer

1 vote

Answer:

Four types of errors program should test for user input are given in explanation

Step-by-step explanation:

1. Program should test that extension contains exactly three letters

2. Program should test that extension doesn't contain any number or special character

3. Program should test that extension doesn't contain any white space

4. Program should test that extension doesn't contain any punctuation mark

User System PAUSE
by
4.9k points