Lab 11 Wed Assignment

A food store has two categories of items: food that requires refigeration and food that doesn't. Each item has a barcode - a positive integer. All perishable items have barcodes with EVEN number of digits, and all non-perishable food items have barcodes with ODD number of digits.

For example, item with barcode 123 belongs to non-perishable category, and item with barcode 131313 belongs to perishable category.

Write the following functions: