BTP200 Assignments 20141
1) Program Summary
In main
use EAN module by calling
1.isValid
2.isRegistered
a. EAN module
1. Use "isValid" function to validate EAN input
2. Use "Prefix" module to validate EAN and if validation passed, copy each element to valubles
b. Prefix module
1. Use "load" function to load prefix database
2. Use "isRegistered" function to validate area
3. Use "minNoDigits" function to define publisher code
4. Use "is registered" function (* Different parameter) to validate publisher