Question: COBOL. Interactive VIN Validation Program VINs or Vehicle Identification Numbers are important identifiers. For example, they may enable police to determine the owner of a
COBOL. Interactive VIN Validation Program
VINs or Vehicle Identification Numbers are important identifiers. For example, they may enable police to determine the owner of a recovered stolen vehicle. However, the VIN must be a valid one. Write an interactive program that will check a VIN enteredfrom the keyboard and display whether it is valid. The program must indicate why the VIN is invalid and must continue to validate VINs until the user indicates that there are no more VINs to validate.
The characteristics of each VIN record are as follows:
1. 17 characters long.
2. The first character must be either 1, 5, 7, F, J, T, X, or Z.
3. The tenth character must be a digit or a letter other than K, M, R, V, or Z. 4. The last six characters must be numeric.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
