The requirements of this application are as follows: The application is to read a course code entered by the user from the keyboard. The course code is made of 5 characters and should follow these rules:
- First character is always an upper case I or a lower case i
- Second character is always an upper case T or a lower case t
- Third, fourth, fifth, and sixth characters are always digits (0-9)
The application then validates the course code against above the rules and prints a message if the course code is valid or not. If the course code is not valid, the application should print a message explaining why the course code is not valid.
Use these course codes to test your application:
- IT4782
- IT4782
- OT4782
- it&782