Stage 2: Validation
毕业论文代写,代写paper,北美CS代写-编程代码,代写金融-第一代写网Building on stage 1, you now need to ensure that the program checks for valid entries in each case, and converts the text to the appropriate format.
You need to:
- Ensure that a model, year, blue plate number and owner were entered, If any of these were not entered, do not record that item and go straight to asking if they wish to continue.
- Ensure that the user enters either “Y”, “y”, “N” or “n” when asked if they wish to continue. Continue to ask until they enter a valid result.
- For extra marks, (and this is challenging), ensure that the blue plate number consists of a letter followed by five numerals.