Tag: Validation

Boarding Pass Validation

Scenario You are writing a computer program for an airline company. The program will be used at a check-in desk to generate and print custom boarding passes. The program captures several user inputs before generating the pass. In order to

UPC Barcode & Check Digit Calculation

A barcode is an optical, representation of data that can easily be scanned by a barcode reader. A barcode is used to store a number such as the product code of a product for sale in a shop, or the

Yes or No!

Learning Objectives When your computer prorgam is asking questions to the end-user, the end-user may not answer these questions the way you expected them to. This may cause your program to not work properly. Ideally a good program should use