Question
YOU ARE TO USE C-PROGRAMM, PLEASE. The NAFDAC law requires that food product manufacturers place expiry date on their products, but there is ambiguity in
YOU ARE TO USE C-PROGRAMM, PLEASE.
The NAFDAC law requires that food product manufacturers place expiry date on their products, but there is ambiguity in the law: it does not require the expiration date to be in any particular form. So, it can be written in any other language and still be legal.
A self-appointed Food Quality Spy has learned that many food product manufacturers have started encoding the product expiration dates to keep customers from knowing how old the stuff is.
But the encoding does allow retailers to figure out the expiry date if for some reason, they want to.
One popular encoding method: Encode the months from Jan to Dec as 'A' through 'L' Encode each digit of the date as 'Q' through 'Z' Encode the year as 'A' through 'Z' meaning 1 through 26 which is then added to 2000.
The spy found a particularly questionable loaf of bread with this date: ARZM. Write a C-Program to determine the date.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started